Fix 2011-02-22T17:37:06Z!eggert@cs.ucla.edu.

etags.c (canonicalize_filename, ISUPPER): Fix last change.
This commit is contained in:
Eli Zaretskii 2011-02-22 20:08:53 +02:00
parent aa0f73d190
commit 32e793fa11
2 changed files with 4 additions and 1 deletions

View file

@ -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.

View file

@ -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