aboutsummaryrefslogtreecommitdiff
path: root/posix/fnmatch.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-26 03:22:20 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-26 03:22:20 +0000
commit1827fc4c9819187f1084fecd92f3071e3482defa (patch)
treed544f9c5dbe8808b73527f058d17bec1a1f6d47c /posix/fnmatch.c
parentd6f7f7bdf014b2c80424c496b51d339a4db0f827 (diff)
downloadglibc-1827fc4c9819187f1084fecd92f3071e3482defa.zip
glibc-1827fc4c9819187f1084fecd92f3071e3482defa.tar.gz
glibc-1827fc4c9819187f1084fecd92f3071e3482defa.tar.bz2
Update.
2000-01-25 Andreas Schwab <schwab@suse.de> * 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 <steve@xemacs.org>.
Diffstat (limited to 'posix/fnmatch.c')
-rw-r--r--posix/fnmatch.c2
1 files changed, 2 insertions, 0 deletions
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