]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
gnulib: sync comment from upstream
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Feb 2026 17:28:23 +0000 (09:28 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Feb 2026 17:28:23 +0000 (09:28 -0800)
include/filename.h

index bc401b17a888ecb8636153a29150d7aded91a239..e37a373eb413819935cb79a69acb106946fc47f5 100644 (file)
@@ -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