changeset 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 ffc0af16b32a
children 615a180ced87
files src/callproc.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
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