Merge pull request #246 from smcv/xpg-not-xdg
Stop talking about the "XDG" version of basename()
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user