]> code.delx.au - gnu-emacs/commitdiff
(Fexpand_file_name) [DOS_NT]: Correct the `if' clause
authorRichard M. Stallman <rms@gnu.org>
Wed, 1 May 1996 23:24:44 +0000 (23:24 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 1 May 1996 23:24:44 +0000 (23:24 +0000)
to compile on all platforms.

src/fileio.c

index 1065a5aa113f21cb8f9376d7b83abfd9cd14d7cb..f979cb2ab481edfeaba545c4d6c347218eee1bfb 100644 (file)
@@ -1164,13 +1164,13 @@ See also the function `substitute-in-file-name'.")
   /* Finally, if no prefix has been specified and nm is not absolute,
      then it must be expanded relative to default_directory. */
 
-  if (
+  if (1
 #ifndef DOS_NT
       /* /... alone is not absolute on DOS and Windows. */
-      !IS_DIRECTORY_SEP (nm[0])
+      && !IS_DIRECTORY_SEP (nm[0])
 #endif
 #ifdef WINDOWSNT
-      !(IS_DIRECTORY_SEP (nm[0]) && IS_DIRECTORY_SEP (nm[1]))
+      && !(IS_DIRECTORY_SEP (nm[0]) && IS_DIRECTORY_SEP (nm[1]))
 #endif
 #ifdef VMS
       && !index (nm, ':')