diff options
Diffstat (limited to 'src')
| -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.") | |||
| 650 | } | 650 | } |
| 651 | if (!IS_DIRECTORY_SEP (tempfile[strlen (tempfile) - 1])) | 651 | if (!IS_DIRECTORY_SEP (tempfile[strlen (tempfile) - 1])) |
| 652 | strcat (tempfile, "/"); | 652 | strcat (tempfile, "/"); |
| 653 | if ('/' == DIRECTORY_SEP) | ||
| 654 | dostounix_filename (tempfile); | ||
| 655 | else | ||
| 656 | unixtodos_filename (tempfile); | ||
| 653 | #ifdef WINDOWSNT | 657 | #ifdef WINDOWSNT |
| 654 | strcat (tempfile, "emXXXXXX"); | 658 | strcat (tempfile, "emXXXXXX"); |
| 655 | #else | 659 | #else |
| 656 | strcat (tempfile, "detmp.XXX"); | 660 | strcat (tempfile, "detmp.XXX"); |
| 657 | #endif | 661 | #endif |
| 658 | if ('/' == DIRECTORY_SEP) | ||
| 659 | dostounix_filename (tempfile); | ||
| 660 | else | ||
| 661 | unixtodos_filename (tempfile); | ||
| 662 | #else /* not DOS_NT */ | 662 | #else /* not DOS_NT */ |
| 663 | 663 | ||
| 664 | #ifdef VMS | 664 | #ifdef VMS |