aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32proc.c
diff options
context:
space:
mode:
authorJason Rumney <[email protected]>2008-05-22 14:54:27 +0000
committerJason Rumney <[email protected]>2008-05-22 14:54:27 +0000
commit0513110744d9ae86c12eea93466c6ff539ae3f77 (patch)
tree56e21e77d36415f46efd692e93d2e94edc350b15 /src/w32proc.c
parent3b780338b9e8c0164763eac1fbd1727428c2a8e5 (diff)
* 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.
Diffstat (limited to 'src/w32proc.c')
-rw-r--r--src/w32proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/w32proc.c b/src/w32proc.c
index f8837c847b..3dce1e1f21 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -621,10 +621,10 @@ w32_executable_type (char * filename, int * is_dos_app, int * is_cygnus_app, int
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