From: Rich Felker Date: Mon, 17 Oct 2011 16:24:23 +0000 (-0400) Subject: add some missing GNU FNM_* extensions to the header X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=42976cee2d31bbaade6d2169a9f234cd82af0715 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 --- 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