(call-process-region) [DOS_NT]: Use IS_DIRECTORY_SEP.
(call-process-region) [WINDOWSNT]: Use proper temp file template.
This commit is contained in:
parent
d51bca10bd
commit
0774fcf89c
1 changed files with 5 additions and 1 deletions
|
@ -623,9 +623,13 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
|
|||
*tempfile = '\0';
|
||||
}
|
||||
dostounix_filename (tempfile);
|
||||
if (tempfile[strlen (tempfile) - 1] != '/')
|
||||
if (!IS_DIRECTORY_SEP (tempfile[strlen (tempfile) - 1]))
|
||||
strcat (tempfile, "/");
|
||||
#ifdef WINDOWSNT
|
||||
strcat (tempfile, "emXXXXXX");
|
||||
#else
|
||||
strcat (tempfile, "detmp.XXX");
|
||||
#endif
|
||||
#else /* not DOS_NT */
|
||||
|
||||
#ifdef VMS
|
||||
|
|
Loading…
Add table
Reference in a new issue