Respond to POSIX interpretations about pathchk -p dated 2005-01-06.

This commit is contained in:
Paul Eggert committed 2005-01-10 18:09:43 +00:00
1 parent c1b404410d
commit 97409a37e8
1 file changed
+16
+16
View File
@@ -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.