From 1827fc4c9819187f1084fecd92f3071e3482defa Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 26 Jan 2000 03:22:20 +0000 Subject: Update. 2000-01-25 Andreas Schwab * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of FNM_FILE_NAME consistently. * posix/fnmatch.c: Define STRCOLL appropriately for the loop definition. * posix/fnmatch_loop.c: Undefine STRCOLL. * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle kernels with stat64 support. * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. Patch by SL Baur . --- posix/fnmatch.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'posix/fnmatch.c') diff --git a/posix/fnmatch.c b/posix/fnmatch.c index 85a50ef..18abf5d 100644 --- a/posix/fnmatch.c +++ b/posix/fnmatch.c @@ -191,6 +191,7 @@ __wcschrnul (s, c) # endif # define STRCHR(S, C) strchr (S, C) # define STRCHRNUL(S, C) __strchrnul (S, C) +# define STRCOLL(S1, S2) strcoll (S1, S2) # include "fnmatch_loop.c" @@ -208,6 +209,7 @@ __wcschrnul (s, c) # define BTOWC(C) (C) # define STRCHR(S, C) wcschr (S, C) # define STRCHRNUL(S, C) __wcschrnul (S, C) +# define STRCOLL(S1, S2) wcscoll (S1, S2) # undef IS_CHAR_CLASS # ifdef _LIBC -- cgit v1.1