From: Keith Kanios Date: Fri, 13 Apr 2007 22:00:42 +0000 (+0000) Subject: Replaced str(n)casecmp with more standard str(n)icmp. X-Git-Tag: nasm-2.11.05~2134 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a3311b54683d68a8c78a82d75c9acf333ee4e10;p=platform%2Fupstream%2Fnasm.git Replaced str(n)casecmp with more standard str(n)icmp. --- diff --git a/output/outmacho.c b/output/outmacho.c index 8c3ff79..933d42e 100644 --- a/output/outmacho.c +++ b/output/outmacho.c @@ -568,7 +568,7 @@ static int32_t macho_section(char *name, int pass, int *bits) while ((NULL != sectionAttributes) && (currentAttribute = strtok((char*)§ionAttributes, " \t"))) { if (0 != *currentAttribute) { - if (0 == strncasecmp("align=", currentAttribute, 6)) { + if (!(nasm_strnicmp("align=", currentAttribute, 6))) { char *end; int newAlignment, value; @@ -604,7 +604,7 @@ static int32_t macho_section(char *name, int pass, int *bits) } s->align = newAlignment; - } else if (0 == strcasecmp("data", currentAttribute)) { + } else if (!(nasm_stricmp("data", currentAttribute))) { /* Do nothing; 'data' is implicit */ } else { error(ERR_PANIC,