1.6.3: compilation fails FNM_CASEFOLD undefined

Andrej Borsenkow Andrej.Borsenkow at mow.siemens.ru
Wed Mar 29 03:06:52 EST 2000

ReliantUNIX 5.44 (mips-sni-sysv4)

cc -c -I. -I.  -F
O2 -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.t
parse.c   399: [error]:   CFE1020 identifier "FNM_CASEFOLD" is undefined
            return(fnmatch(pattern, lhost, FNM_CASEFOLD));

Here is what is defined in our fnmatch.h:

#define FNM_PATHNAME    0x001
#define FNM_PERIOD      0x002
#define FNM_NOESCAPE    0x004
#define FNM_BADRANGE    0x008   /* accept [m-a] ranges as [ma] */
#define FNM_BKTESCAPE   0x010   /* allow \ in []s to quote next anything
#define FNM_EXTENDED    0x020   /* use full ksh-style patterns */
#define FNM_RETMIN      0x040   /* return length of minimum match */
#define FNM_RETMAX      0x080   /* return length of maximum match */
#define FNM_REUSE       0x100   /* reusing this FNM */
#define FNM_COMPONENT   0x200   /* only matching a component */
#define FNM_SUBEXPR     0x400   /* fill fnm_nsub, fnm_so[], fnm_eo[] */
#define FNM_UNANCHORED  0x800   /* match need not include string start

Is this CASEFOLD some sort of Linux (GNU libc) extensions?


Have a nice DOS!
B >>

More information about the sudo-workers mailing list