projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0386030
)
add some missing GNU FNM_* extensions to the header
author
Rich Felker
<dalias@aerifal.cx>
Mon, 17 Oct 2011 16:24:23 +0000
(12:24 -0400)
committer
Rich 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
patch
|
blob
|
history
diff --git
a/include/fnmatch.h
b/include/fnmatch.h
index b7aee504856d6be3ac614f8fead9835c973cca35..0731e236a8f785f6be037b4a6f896619eec51529 100644
(file)
--- 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