Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/tip



Thor Lancelot Simon <tls%NetBSD.org@localhost> writes:

>               ttyfd = real_ttyfd;
> +             if (lockflag) 
> +                     if(flock(ttyfd, (LOCK_EX|LOCK_NB)) != 0) {
> +                             status = EXIT_LOCK_FAILED;
> +                             close(ttyfd);
> +                             goto errret;
> +                     }
> + 

I'm also no clue about ppp code, but leaving closed file descriptor in
real_ttyfd sounds inconsistent.

enami.



Home | Main Index | Thread Index | Old Index