From: root Date: Wed, 16 Apr 1997 15:34:00 +0000 (+0000) Subject: macros should be case insensitive X-Git-Tag: rpm-4.4-release~4192 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8a09d420496a2e24fe65ef0527e50204dbb0a48;p=platform%2Fupstream%2Frpm.git macros should be case insensitive CVS patchset: 1543 CVS date: 1997/04/16 15:34:00 --- diff --git a/build/macro.c b/build/macro.c index 4167088..96e3218 100644 --- a/build/macro.c +++ b/build/macro.c @@ -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()