macros should be case insensitive
authorroot <devnull@localhost>
Wed, 16 Apr 1997 15:34:00 +0000 (15:34 +0000)
committerroot <devnull@localhost>
Wed, 16 Apr 1997 15:34:00 +0000 (15:34 +0000)
CVS patchset: 1543
CVS date: 1997/04/16 15:34:00

build/macro.c

index 4167088..96e3218 100644 (file)
@@ -279,8 +279,8 @@ static struct macroEntry *findEntry(char *name)
 
 static int compareMacros(const void *ap, const void *bp)
 {
-    return strcasecmp(((struct macroEntry *)ap)->name,
-                     ((struct macroEntry *)bp)->name);
+    return strcmp(((struct macroEntry *)ap)->name,
+                 ((struct macroEntry *)bp)->name);
 }
 
 static void expandMacroTable()