diff options
| author | Kim F. Storm | 2004-08-17 21:59:07 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-08-17 21:59:07 +0000 |
| commit | be16bf871e21bf4cd7fe495251fbd0869b5df4fb (patch) | |
| tree | a704a7db64b7a223270b8aaf8855cbdb29cadf62 /src/process.c | |
| parent | ee1fcbddee2f787cfdb1c824f6f22a0d71c87c9e (diff) | |
| download | emacs-be16bf871e21bf4cd7fe495251fbd0869b5df4fb.tar.gz emacs-be16bf871e21bf4cd7fe495251fbd0869b5df4fb.zip | |
(process_send_signal): Fix last change--use
_POSIX_VDISABLE instead of CVDISABLE when available.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 3c8aca9560e..09f55b569dd 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -5572,7 +5572,15 @@ process_send_signal (process, signo, current_group, nomsg) | |||
| 5572 | break; | 5572 | break; |
| 5573 | } | 5573 | } |
| 5574 | 5574 | ||
| 5575 | if (sig_char && *sig_char != CVDISABLE) | 5575 | #ifndef _POSIX_VDISABLE |
| 5576 | #ifdef CVDISABLE | ||
| 5577 | #define _POSIX_VDISABLE CVDISABLE | ||
| 5578 | #else | ||
| 5579 | #define _POSIX_VDISABLE '\0' | ||
| 5580 | #endif | ||
| 5581 | #endif | ||
| 5582 | |||
| 5583 | if (sig_char && *sig_char != _POSIX_VDISABLE) | ||
| 5576 | send_process (proc, sig_char, 1, Qnil); | 5584 | send_process (proc, sig_char, 1, Qnil); |
| 5577 | return; | 5585 | return; |
| 5578 | #else /* ! HAVE_TERMIOS */ | 5586 | #else /* ! HAVE_TERMIOS */ |