Преглед на файлове

add some missing GNU FNM_* extensions to the header

note that none of these are implemented, and programs depending on
them may break... patch by sh4rm4
Rich Felker преди 13 години
родител
ревизия
42976cee2d
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      include/fnmatch.h

+ 3 - 1
include/fnmatch.h

@@ -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