Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 1995 16:57:44 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        jc@irbs.com, partha@Ipsilon.COM
Cc:        bugs@FreeBSD.org
Subject:   Re: ping from a background process stops for input
Message-ID:  <199512170557.QAA26907@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Redirect ping's input from /dev/null or remove this piece of code
>from ping.c:165.

>        if (tcgetattr (0, &ts) != -1) {
>                reset_kerninfo = !(ts.c_lflag & NOKERNINFO);
>                ts.c_lflag |= NOKERNINFO;
>                tcsetattr (0, TCSANOW, &ts);
>        }

This bug was introduced in FreeBSD-2.0.

The NOKERNINFO flag tended to get stuck on while I was testing this.
It is only restored for normal exits and SIGINTs.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512170557.QAA26907>