* lib/dosname.h (IS_RELATIVE_FILE_NAME): On native Windows, OS/2, DOS,
change the definition so that IS_RELATIVE_FILE_NAME("c:") is false.
* NEWS: Mention the change.
+2020-03-28 Bruno Haible <bruno@clisp.org>
+
+ dosname: Change IS_RELATIVE_FILE_NAME.
+ * lib/dosname.h (IS_RELATIVE_FILE_NAME): On native Windows, OS/2, DOS,
+ change the definition so that IS_RELATIVE_FILE_NAME("c:") is false.
+ * NEWS: Mention the change.
+
2020-03-28 Bruno Haible <bruno@clisp.org>
filename: Copy some definitions from module 'dosname'.
Date Modules Changes
+2020-03-28 dosname On native Windows, OS/2, DOS,
+ IS_RELATIVE_FILE_NAME("c:") now returns false.
+
2020-03-28 filename The macro IS_ABSOLUTE_PATH is deprecated. Use
IS_ABSOLUTE_FILE_NAME instead.
The macro IS_PATH_WITH_DIR is deprecated. Use
# define IS_ABSOLUTE_FILE_NAME(F) \
(ISSLASH ((F)[0]) || FILE_SYSTEM_PREFIX_LEN (F) != 0)
#endif
-#define IS_RELATIVE_FILE_NAME(F) (! IS_ABSOLUTE_FILE_NAME (F))
+#define IS_RELATIVE_FILE_NAME(F) \
+ (! (ISSLASH ((F)[0]) || FILE_SYSTEM_PREFIX_LEN (F) != 0))
#endif /* DOSNAME_H_ */