diff options
| author | Joakim Verona | 2013-03-26 16:20:17 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-03-26 16:20:17 +0100 |
| commit | 6f6db22fc74ffb7fbdd4d805545b7e28cd59f0c8 (patch) | |
| tree | 4a58903b4c3d010e90fc37fe10ea4d9895876d01 /src/callproc.c | |
| parent | 62dd123f7c11ddbe156bc0e84dcb7ca1da5368bb (diff) | |
| parent | 48c226c2c2592e31a47559bd1689fcc4354d9479 (diff) | |
| download | emacs-6f6db22fc74ffb7fbdd4d805545b7e28cd59f0c8.tar.gz emacs-6f6db22fc74ffb7fbdd4d805545b7e28cd59f0c8.zip | |
conflict resolve
Diffstat (limited to 'src/callproc.c')
| -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 9132c0dd976..46a37701a40 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Synchronous subprocess invocation for GNU Emacs. | 1 | /* Synchronous subprocess invocation for GNU Emacs. |
| 2 | Copyright (C) 1985-1988, 1993-1995, 1999-2012 | 2 | Copyright (C) 1985-1988, 1993-1995, 1999-2013 |
| 3 | Free Software Foundation, Inc. | 3 | Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -125,7 +125,7 @@ record_kill_process (struct Lisp_Process *p) | |||
| 125 | static Lisp_Object | 125 | static Lisp_Object |
| 126 | call_process_kill (Lisp_Object ignored) | 126 | call_process_kill (Lisp_Object ignored) |
| 127 | { | 127 | { |
| 128 | if (0 <= synch_process_fd) | 128 | if (synch_process_fd >= 0) |
| 129 | emacs_close (synch_process_fd); | 129 | emacs_close (synch_process_fd); |
| 130 | 130 | ||
| 131 | if (synch_process_pid) | 131 | if (synch_process_pid) |
| @@ -173,7 +173,7 @@ call_process_cleanup (Lisp_Object arg) | |||
| 173 | } | 173 | } |
| 174 | #endif | 174 | #endif |
| 175 | 175 | ||
| 176 | if (0 <= synch_process_fd) | 176 | if (synch_process_fd >= 0) |
| 177 | emacs_close (synch_process_fd); | 177 | emacs_close (synch_process_fd); |
| 178 | 178 | ||
| 179 | #ifdef MSDOS | 179 | #ifdef MSDOS |
| @@ -682,7 +682,7 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) | |||
| 682 | 682 | ||
| 683 | child_errno = errno; | 683 | child_errno = errno; |
| 684 | 684 | ||
| 685 | if (0 < pid) | 685 | if (pid > 0) |
| 686 | { | 686 | { |
| 687 | if (INTEGERP (buffer)) | 687 | if (INTEGERP (buffer)) |
| 688 | record_deleted_pid (pid); | 688 | record_deleted_pid (pid); |