Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2009 09:08:53 +0000 (UTC)
From:      Brian Somers <brian@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.bin/tail extern.h forward.c misc.c read.c reverse.c tail.1 tail.c
Message-ID:  <200906050909.n55995GY063631@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

brian       2009-06-05 09:08:53 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/tail         extern.h forward.c misc.c read.c 
                         reverse.c tail.1 tail.c 
  Log:
  SVN rev 193488 on 2009-06-05 09:08:53Z by brian
  
  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
  
  Revision  Changes    Path
  1.11      +5 -6      src/usr.bin/tail/extern.h
  1.42      +90 -62    src/usr.bin/tail/forward.c
  1.10      +1 -1      src/usr.bin/tail/misc.c
  1.15      +4 -4      src/usr.bin/tail/read.c
  1.21      +14 -14    src/usr.bin/tail/reverse.c
  1.16      +9 -2      src/usr.bin/tail/tail.1
  1.25      +22 -19    src/usr.bin/tail/tail.c



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