summaryrefslogtreecommitdiff
path: root/libc/misc/fnmatch
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-03 17:17:14 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-03 17:17:14 +0000
commit43123f2ccc714bbb4991b538dd70e411899f98e3 (patch)
treea6b583ea3efc976960012b79b44595afcb8837c1 /libc/misc/fnmatch
parent16fbf62c2044e872785f871ab5d901e30e64932e (diff)
Get rid of tolower/toupper jump reloc, correct tow* for XLOCALE
Diffstat (limited to 'libc/misc/fnmatch')
-rw-r--r--libc/misc/fnmatch/fnmatch.c2
-rw-r--r--libc/misc/fnmatch/fnmatch_old.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/fnmatch/fnmatch.c b/libc/misc/fnmatch/fnmatch.c
index 8cacc9a88..f1419bfd8 100644
--- a/libc/misc/fnmatch/fnmatch.c
+++ b/libc/misc/fnmatch/fnmatch.c
@@ -245,7 +245,7 @@ __wcschrnul (s, c)
/* Note that this evaluates C many times. */
# if defined _LIBC || defined __UCLIBC__
-# define FOLD(c) ((flags & FNM_CASEFOLD) ? tolower (c) : (c))
+# define FOLD(c) ((flags & FNM_CASEFOLD) ? __tolower (c) : (c))
# else
# define FOLD(c) ((flags & FNM_CASEFOLD) && ISUPPER (c) ? tolower (c) : (c))
# endif
diff --git a/libc/misc/fnmatch/fnmatch_old.c b/libc/misc/fnmatch/fnmatch_old.c
index 892738999..384756569 100644
--- a/libc/misc/fnmatch/fnmatch_old.c
+++ b/libc/misc/fnmatch/fnmatch_old.c
@@ -56,7 +56,7 @@ int attribute_hidden __fnmatch(const char *pattern, const char *string, int flag
register char c;
/* Note that this evaluates C many times. */
-# define FOLD(c) ((flags & FNM_CASEFOLD) && ISUPPER (c) ? tolower (c) : (c))
+# define FOLD(c) ((flags & FNM_CASEFOLD) && ISUPPER (c) ? __tolower (c) : (c))
while ((c = *p++) != '\0') {
c = FOLD(c);