Commit 5711b547 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fcall_process_region) [DOS_NT]: Avoid downcasing

the `X' characters in the template passed to `mktemp'.
parent 7fd85d56
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment