[COMMITTED] gnulib: sync comment from upstream
Paul Eggert
eggert@cs.ucla.edu
Tue Feb 3 17:30:53 GMT 2026
---
include/filename.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/filename.h b/include/filename.h
index bc401b17a8..e37a373eb4 100644
--- a/include/filename.h
+++ b/include/filename.h
@@ -49,7 +49,10 @@ extern "C" {
any notion of "current directory".
IS_RELATIVE_FILE_NAME(Filename)
tests whether Filename may be concatenated
- to a directory filename.
+ to a directory filename to yield the name
+ of a file relative to that directory.
+ Watch out: IS_RELATIVE_FILE_NAME ("") is 1
+ even though "" is not a relative file name.
Note: On native Windows, OS/2, DOS, "c:" is neither an absolute nor a
relative file name!
IS_FILE_NAME_WITH_DIR(Filename) tests whether Filename contains a device
--
2.51.0
More information about the Libc-alpha
mailing list