changeset 10499:6368f8d9bf07

(file_name_as_directory, Ffile_name_directory) (Ffile_name_nondirectory): Delete special MSDOG code now covered by macros.
author Richard M. Stallman <rms@gnu.org>
date Fri, 20 Jan 1995 23:36:07 +0000
parents 8fb25f247533
children 4d77d5230bff
files src/fileio.c
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Fri Jan 20 23:13:51 1995 +0000
+++ b/src/fileio.c	Fri Jan 20 23:36:07 1995 +0000
@@ -306,9 +306,6 @@
 #ifdef VMS
 	 && p[-1] != ':' && p[-1] != ']' && p[-1] != '>'
 #endif /* VMS */
-#ifdef MSDOS
-	 && p[-1] != ':' && p[-1] != '\\'
-#endif
 	 ) p--;
 
   if (p == beg)
@@ -372,9 +369,6 @@
 #ifdef VMS
 	 && p[-1] != ':' && p[-1] != ']' && p[-1] != '>'
 #endif /* VMS */
-#ifdef MSDOS
-	 && p[-1] != ':'
-#endif
 	 ) p--;
 
   return make_string (p, end - p);
@@ -470,15 +464,11 @@
     }
 #else /* not VMS */
   /* For Unix syntax, Append a slash if necessary */
-#ifdef MSDOS
-  if (out[size] != ':' && out[size] != '/' && out[size] != '\\')
-#else /* not MSDOS */
   if (!IS_ANY_SEP (out[size]))
     {
       out[size + 1] = DIRECTORY_SEP;
       out[size + 2] = '\0';
     }
-#endif /* not MSDOS */
 #endif /* not VMS */
   return out;
 }