From: Paul Eggert Date: Tue, 3 Feb 2026 17:28:23 +0000 (-0800) Subject: gnulib: sync comment from upstream X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67322498c4b2c2fca2be5e8c4561780631b35992;p=thirdparty%2Fglibc.git gnulib: sync comment from upstream --- 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