diff src/callproc.c @ 15824:11517dc55f5b

(Fcall_process_region) [DOS_NT]: Avoid downcasing the `X' characters in the template passed to `mktemp'.
author Richard M. Stallman <rms@gnu.org>
date Mon, 05 Aug 1996 01:15:49 +0000
parents b43e16d8ab5b
children 30b8c014eaa7
line wrap: on
line diff
--- a/src/callproc.c	Sun Aug 04 20:35:10 1996 +0000
+++ b/src/callproc.c	Mon Aug 05 01:15:49 1996 +0000
@@ -650,15 +650,15 @@
     }
   if (!IS_DIRECTORY_SEP (tempfile[strlen (tempfile) - 1]))
     strcat (tempfile, "/");
+  if ('/' == DIRECTORY_SEP)
+    dostounix_filename (tempfile);
+  else
+    unixtodos_filename (tempfile);
 #ifdef WINDOWSNT
   strcat (tempfile, "emXXXXXX");
 #else
   strcat (tempfile, "detmp.XXX");
 #endif
-  if ('/' == DIRECTORY_SEP)
-    dostounix_filename (tempfile);
-  else
-    unixtodos_filename (tempfile);
 #else /* not DOS_NT */
 
 #ifdef VMS