add some missing GNU FNM_* extensions to the header
authorRich Felker <dalias@aerifal.cx>
Mon, 17 Oct 2011 16:24:23 +0000 (12:24 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 17 Oct 2011 16:24:23 +0000 (12:24 -0400)
note that none of these are implemented, and programs depending on
them may break... patch by sh4rm4

include/fnmatch.h

index b7aee50..0731e23 100644 (file)
@@ -10,7 +10,9 @@ extern "C" {
 #define        FNM_PERIOD   0x4
 
 #ifdef _GNU_SOURCE
-#define        FNM_CASEFOLD 0x10
+#define        FNM_LEADING_DIR 0x8           
+#define        FNM_CASEFOLD    0x10
+#define        FNM_FILE_NAME   FNM_PATHNAME
 #endif
 
 #define        FNM_NOMATCH 1