diff options
| author | Richard M. Stallman | 1996-05-12 22:50:25 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-05-12 22:50:25 +0000 |
| commit | cd5f8f60db59311aa897a9952541f29dc2ceb7af (patch) | |
| tree | 42ff72b2470ae89c52592a209f23ec80c2ac0e09 | |
| parent | 25a1fadb43c3b9caaaf795785d3de4968e36b913 (diff) | |
| download | emacs-cd5f8f60db59311aa897a9952541f29dc2ceb7af.tar.gz emacs-cd5f8f60db59311aa897a9952541f29dc2ceb7af.zip | |
(Fcall_process): Fix previous change (now !MSDOS only).
| -rw-r--r-- | src/callproc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/callproc.c b/src/callproc.c index d9c29a0ba72..265d8287723 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -447,6 +447,10 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") | |||
| 447 | child_setup (filefd, fd1, fd_error, new_argv, 0, current_dir); | 447 | child_setup (filefd, fd1, fd_error, new_argv, 0, current_dir); |
| 448 | } | 448 | } |
| 449 | #endif /* not WINDOWSNT */ | 449 | #endif /* not WINDOWSNT */ |
| 450 | |||
| 451 | /* The MSDOS case did this already. */ | ||
| 452 | if (fd_error >= 0) | ||
| 453 | close (fd_error); | ||
| 450 | #endif /* not MSDOS */ | 454 | #endif /* not MSDOS */ |
| 451 | 455 | ||
| 452 | environ = save_environ; | 456 | environ = save_environ; |
| @@ -456,8 +460,6 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") | |||
| 456 | close (filefd); | 460 | close (filefd); |
| 457 | if (fd1 >= 0) | 461 | if (fd1 >= 0) |
| 458 | close (fd1); | 462 | close (fd1); |
| 459 | if (fd_error >= 0) | ||
| 460 | close (fd_error); | ||
| 461 | } | 463 | } |
| 462 | 464 | ||
| 463 | if (pid < 0) | 465 | if (pid < 0) |