Fix 2011-02-22T17:37:06Z!eggert@cs.ucla.edu.
etags.c (canonicalize_filename, ISUPPER): Fix last change.
This commit is contained in:
parent
aa0f73d190
commit
32e793fa11
2 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue