freebsd-dev/usr.bin/tail
Brian Somers 22da50cfc8 Change the behaviour of -F slightly; it now persists (forever) in
trying to open files rather than giving up when it encounters an
error.  ENOENT errors are not reported.

As a result, files that are moved away then recreated are not at
risk of being 'lost' to tail.  Files that are recreated and
temporarily have unreadable permissions will be shown when they
are fixed.

This behaviour is consistent with the GNU version of tail but
without the verbiage that goes with the GNU version.

This change also fixes error messages accompanying -f and -F.
They no longer report problems with (null)!

MFC after:	3 weeks
2009-06-05 09:08:53 +00:00
..
extern.h Change the behaviour of -F slightly; it now persists (forever) in 2009-06-05 09:08:53 +00:00
forward.c Change the behaviour of -F slightly; it now persists (forever) in 2009-06-05 09:08:53 +00:00
Makefile Bump WARNS to 4 as this seems OK on the alpha now. 2005-01-10 20:22:37 +00:00
misc.c Change the behaviour of -F slightly; it now persists (forever) in 2009-06-05 09:08:53 +00:00
read.c Change the behaviour of -F slightly; it now persists (forever) in 2009-06-05 09:08:53 +00:00
reverse.c Change the behaviour of -F slightly; it now persists (forever) in 2009-06-05 09:08:53 +00:00
tail.1 Change the behaviour of -F slightly; it now persists (forever) in 2009-06-05 09:08:53 +00:00
tail.c Change the behaviour of -F slightly; it now persists (forever) in 2009-06-05 09:08:53 +00:00