From: Paul Eggert Date: Fri, 10 Sep 2004 20:54:47 +0000 (+0000) Subject: "tail" now handles obscure POSIX 1003.2-1992 cases better. X-Git-Tag: v5.3.0~699 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96567e89fa561075f2033b062fa2881ac86b7bd1;p=thirdparty%2Fcoreutils.git "tail" now handles obscure POSIX 1003.2-1992 cases better. --- diff --git a/ChangeLog b/ChangeLog index 1df4d23c47..696624036c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2004-09-10 Paul Eggert + + * NEWS: "tail" now handles obscure POSIX 1003.2-1992 cases better. + * src/tail.c (parse_obsolete_option): Renamed from + parse_obsolescent_option, since the options are obsolete now. + Remove bool *arg; just exit if there's an error. Revamp to follow + POSIX 1003.2-1992 more precisely, to handle cases like "tail - + file" and "tail -10 -- file" correctly when we are conforming to + the older standard. + (main): Adjust to this change. + * tests/tail/Test.pm (test_vector): minus-* requires + _POSIX2_VERSION=199209 now, to work correctly if there is + an input file. err-1 and err-3 no longer errors if there + is another file. + 2004-09-09 Paul Eggert * src/test.c (usage): Document -r, -w, -x more carefully.