# HG changeset patch # User Jason Rumney # Date 1211468036 0 # Node ID 72c67a7befd5632a6a736ce34a21a81a4e91c435 # Parent 0f6fa3ec70b6be3554af7430acf82691e3cd4217 * dispextern.h, xfaces.c (xstrcasecmp): Renamed from xstricmp. * dosfns.c, fileio.c, font.c, fontset.c, image.c, macfns.c: * macterm.c, process.c, w32.c, w32fns.c, w32proc.c, xfaces.c: * xfns.c, xfont.c: Callers changed. diff -r 0f6fa3ec70b6 -r 72c67a7befd5 src/w32proc.c --- a/src/w32proc.c Thu May 22 14:53:48 2008 +0000 +++ b/src/w32proc.c Thu May 22 14:53:56 2008 +0000 @@ -621,10 +621,10 @@ p = strrchr (filename, '.'); /* We can only identify DOS .com programs from the extension. */ - if (p && stricmp (p, ".com") == 0) + if (p && xstrcasecmp (p, ".com") == 0) *is_dos_app = TRUE; - else if (p && (stricmp (p, ".bat") == 0 - || stricmp (p, ".cmd") == 0)) + else if (p && (xstrcasecmp (p, ".bat") == 0 + || xstrcasecmp (p, ".cmd") == 0)) { /* A DOS shell script - it appears that CreateProcess is happy to accept this (somewhat surprisingly); presumably it looks at