summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-08-05 01:15:49 +0000
committerRichard M. Stallman <rms@gnu.org>1996-08-05 01:15:49 +0000
commit5711b5478c6ecfc003daf9540a8c4ac205ce22ff (patch)
tree8b5071fcc709e0712852965405b3d9faa2b945d3
parent7fd85d56046953737691d6fc2d624bdc80b0d70a (diff)
downloademacs-5711b5478c6ecfc003daf9540a8c4ac205ce22ff.tar.gz
(Fcall_process_region) [DOS_NT]: Avoid downcasing
the `X' characters in the template passed to `mktemp'.
-rw-r--r--src/callproc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/callproc.c b/src/callproc.c
index dc0c945925c..ffff3f45531 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -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