diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-08-05 01:15:49 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-08-05 01:15:49 +0000 |
commit | 9b92249cd3e0eb9501bbfbb69543492192d07582 (patch) | |
tree | ac9fc33ae4a5df675d8e314ce7ef0be466b149b6 /src/callproc.c | |
parent | cfc79e8a8a50b92fe4a6f3b06d5f2e0f01f4d5cd (diff) | |
download | emacs-9b92249cd3e0eb9501bbfbb69543492192d07582.tar.gz |
(Fcall_process_region) [DOS_NT]: Avoid downcasing
the `X' characters in the template passed to `mktemp'.
Diffstat (limited to 'src/callproc.c')
-rw-r--r-- | src/callproc.c | 8 |
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 |