emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/fileio.c,v


From: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/src/fileio.c,v
Date: Thu, 22 May 2008 14:52:21 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Jason Rumney <jasonr>   08/05/22 14:52:21

Index: fileio.c
===================================================================
RCS file: /sources/emacs/emacs/src/fileio.c,v
retrieving revision 1.620
retrieving revision 1.621
diff -u -b -r1.620 -r1.621
--- fileio.c    14 May 2008 07:49:25 -0000      1.620
+++ fileio.c    22 May 2008 14:52:21 -0000      1.621
@@ -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 */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]