]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fcall_process_region) [DOS_NT]: Avoid downcasing
authorRichard M. Stallman <rms@gnu.org>
Mon, 5 Aug 1996 01:15:49 +0000 (01:15 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 5 Aug 1996 01:15:49 +0000 (01:15 +0000)
the `X' characters in the template passed to `mktemp'.

src/callproc.c

index dc0c945925c3ae74aa7025af986b3abb3e3b386d..ffff3f455312761192aabc7296528cb51a87eaaf 100644 (file)
@@ -650,15 +650,15 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
     }
   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