]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Respond to POSIX interpretations about pathchk -p dated 2005-01-06.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 10 Jan 2005 18:09:43 +0000 (18:09 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 10 Jan 2005 18:09:43 +0000 (18:09 +0000)
ChangeLog

index 19f78f21caeae158524304d4a4766c884ccadd0b..90e4343c362492f43dc0c6353dc40e20aaa1a881 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2005-01-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <jim@meyering.net>
 
        * Version 5.3.0.