From: Eli Zaretskii <eliz@gnu.org> Date: Tue, 22 Feb 2011 18:08:53 +0000 (+0200) Subject: Fix 2011-02-22T17:37:06Z!eggert@cs.ucla.edu. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~762 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=32e793fa11f55ed480f7c42034635a0561d4b837;p=emacs.git Fix 2011-02-22T17:37:06Z!eggert@cs.ucla.edu. etags.c (canonicalize_filename, ISUPPER): Fix last change. --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index b2bd5699945..fceeaba174c 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,5 +1,7 @@ 2011-02-22 Eli Zaretskii <eliz@gnu.org> + * etags.c (canonicalize_filename, ISUPPER): Fix last change. + * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): Depend on ../lib/min-max.h. diff --git a/lib-src/etags.c b/lib-src/etags.c index 29b830151be..b738f0f4564 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -236,6 +236,7 @@ If you want regular expression support, you should delete this notice and #define ISALNUM(c) isalnum (CHAR(c)) #define ISALPHA(c) isalpha (CHAR(c)) #define ISDIGIT(c) isdigit (CHAR(c)) +#define ISUPPER(c) isupper (CHAR(c)) #define ISLOWER(c) islower (CHAR(c)) #define lowcase(c) tolower (CHAR(c)) @@ -6648,7 +6649,7 @@ canonicalize_filename (register char *fn) #ifdef DOS_NT /* Canonicalize drive letter case. */ if (fn[0] != '\0' && fn[1] == ':' && ISUPPER (fn[0])) - fn[0] = downcase (fn[0]); + fn[0] = lowcase (fn[0]); sep = '\\'; #endif