[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/50322 CVS commit: src/usr.bin/tail
The following reply was made to PR bin/50322; it has been noted by GNATS.
From: "Christos Zoulas" <christos%netbsd.org@localhost>
Subject: PR/50322 CVS commit: src/usr.bin/tail
Date: Fri, 9 Oct 2015 13:51:27 -0400
Module Name: src
Committed By: christos
Date: Fri Oct 9 17:51:27 UTC 2015
PR/50322: Timo Buhrmester: tail -F <file> misbehaves with stdin closed
Compare fp with stdin not fileno(fp) with STDIN_FILENO, because if tail
is called with 0 closed, then we are not going to be setting event filters
for the file because we'll erroneously think it is stdin.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.bin/tail/forward.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |