Thor Lancelot Simon <tls@NetBSD.org> 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.