changeset 95210:b3c07d035bed

* 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.
author Jason Rumney <jasonr@gnu.org>
date Thu, 22 May 2008 14:52:21 +0000
parents 6758d4235380
children e5b02763f924
files src/fileio.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Thu May 22 14:52:10 2008 +0000
+++ b/src/fileio.c	Thu May 22 14:52:21 2008 +0000
@@ -3033,9 +3033,9 @@
 #else
   return (S_ISREG (st.st_mode)
 	  && len >= 5
-	  && (stricmp ((suffix = filename + len-4), ".com") == 0
-	      || stricmp (suffix, ".exe") == 0
-	      || stricmp (suffix, ".bat") == 0)
+	  && (xstrcasecmp ((suffix = filename + len-4), ".com") == 0
+	      || xstrcasecmp (suffix, ".exe") == 0
+	      || xstrcasecmp (suffix, ".bat") == 0)
 	  || (st.st_mode & S_IFMT) == S_IFDIR);
 #endif /* not WINDOWSNT */
 #else /* not DOS_NT */