Merge pull request #246 from smcv/xpg-not-xdg

Stop talking about the "XDG" version of basename()
This commit is contained in:
Lennart Poettering
2015-06-17 13:08:15 +02:00
4 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -60,8 +60,8 @@
#include <linux/fs.h>
/* When we include libgen.h because we need dirname() we immediately
* undefine basename() since libgen.h defines it as a macro to the XDG
* version which is really broken. */
* undefine basename() since libgen.h defines it as a macro to the POSIX
* version which is really broken. We prefer GNU basename(). */
#include <libgen.h>
#undef basename