diff options
| author | Richard M. Stallman | 1995-06-15 15:28:34 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-06-15 15:28:34 +0000 |
| commit | 0774fcf89c25df2a9c3b6952f64c2bc82592925e (patch) | |
| tree | 8a33c2fc6a352325914dad872ce0b3c542fe7a7b /src/callproc.c | |
| parent | d51bca10bd8a2a39013060457a40d09671702616 (diff) | |
| download | emacs-0774fcf89c25df2a9c3b6952f64c2bc82592925e.tar.gz emacs-0774fcf89c25df2a9c3b6952f64c2bc82592925e.zip | |
(call-process-region) [DOS_NT]: Use IS_DIRECTORY_SEP.
(call-process-region) [WINDOWSNT]: Use proper temp file template.
Diffstat (limited to 'src/callproc.c')
| -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 |