From: Paul Eggert Date: Mon, 10 Jan 2005 18:09:43 +0000 (+0000) Subject: Respond to POSIX interpretations about pathchk -p dated 2005-01-06. X-Git-Tag: CPPI-1_12~1640 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=97409a37e8ae99ab5884b025a5227f6ce2f11add;p=thirdparty%2Fcoreutils.git Respond to POSIX interpretations about pathchk -p dated 2005-01-06. --- diff --git a/ChangeLog b/ChangeLog index 19f78f21ca..90e4343c36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2005-01-10 Paul Eggert + + Respond to POSIX interpretations about pathchk -p dated 2005-01-06. + * NEWS: Document the changes. + * doc/coreutils.texi (pathchk invocation): Likewise. + * src/pathchk.c (PORTABILITY_OPTION): New constant. + (longopts, usage, main, validate_file_name): + Add support for new -P option. + Reject empty file names (unless -p is not specified and the + current system allows empty file names). + Change --portability so that is now equivalent to -p -P. + Don't test whether file name is too long, if it is known to exist. + (no_leading_hyphen): New function. + * tests/misc/pathchk1: Add tests for empty file names and + pathchk -P. + 2005-01-08 Jim Meyering * Version 5.3.0.