From owner-cvs-src-old@FreeBSD.ORG Fri Jun 5 09:09:05 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57DAC106566C for ; Fri, 5 Jun 2009 09:09:05 +0000 (UTC) (envelope-from brian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 43DDA8FC14 for ; Fri, 5 Jun 2009 09:09:05 +0000 (UTC) (envelope-from brian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n55995Ha063632 for ; Fri, 5 Jun 2009 09:09:05 GMT (envelope-from brian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n55995GY063631 for cvs-src-old@freebsd.org; Fri, 5 Jun 2009 09:09:05 GMT (envelope-from brian@repoman.freebsd.org) Message-Id: <200906050909.n55995GY063631@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to brian@repoman.freebsd.org using -f From: Brian Somers Date: Fri, 5 Jun 2009 09:08:53 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/tail extern.h forward.c misc.c read.c reverse.c tail.1 tail.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 09:09:05 -0000 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