about summary refs log tree commit diff
path: root/include/fnmatch.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-10-17 12:24:23 -0400
committerRich Felker <dalias@aerifal.cx>2011-10-17 12:24:23 -0400
commit42976cee2d31bbaade6d2169a9f234cd82af0715 (patch)
treebaa80bc40fb4d61f5691292ec255cc289dd8a6b3 /include/fnmatch.h
parent03860303c298f2ec7a9c0de683a68f4ab61697f0 (diff)
downloadmusl-42976cee2d31bbaade6d2169a9f234cd82af0715.tar.gz
musl-42976cee2d31bbaade6d2169a9f234cd82af0715.tar.xz
musl-42976cee2d31bbaade6d2169a9f234cd82af0715.zip
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
Diffstat (limited to 'include/fnmatch.h')
-rw-r--r--include/fnmatch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index b7aee504..0731e236 100644
--- a/include/fnmatch.h
+++ b/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