From 43123f2ccc714bbb4991b538dd70e411899f98e3 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 3 Jan 2006 17:17:14 +0000 Subject: Get rid of tolower/toupper jump reloc, correct tow* for XLOCALE --- libc/misc/fnmatch/fnmatch.c | 2 +- libc/misc/fnmatch/fnmatch_old.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/misc/fnmatch') 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); -- cgit v1.2.3