diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c index 906674658f7..f87223c8d44 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -623,9 +623,13 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") | |||
| 623 | *tempfile = '\0'; | 623 | *tempfile = '\0'; |
| 624 | } | 624 | } |
| 625 | dostounix_filename (tempfile); | 625 | dostounix_filename (tempfile); |
| 626 | if (tempfile[strlen (tempfile) - 1] != '/') | 626 | if (!IS_DIRECTORY_SEP (tempfile[strlen (tempfile) - 1])) |
| 627 | strcat (tempfile, "/"); | 627 | strcat (tempfile, "/"); |
| 628 | #ifdef WINDOWSNT | ||
| 629 | strcat (tempfile, "emXXXXXX"); | ||
| 630 | #else | ||
| 628 | strcat (tempfile, "detmp.XXX"); | 631 | strcat (tempfile, "detmp.XXX"); |
| 632 | #endif | ||
| 629 | #else /* not DOS_NT */ | 633 | #else /* not DOS_NT */ |
| 630 | 634 | ||
| 631 | #ifdef VMS | 635 | #ifdef VMS |