# HG changeset patch # User Richard M. Stallman # Date 1093196736 0 # Node ID 598599edd5caf1fa7a22c4e655852e9b283a09d0 # Parent 349245fdad22e285972ae9735c133cd452f14855 (process_send_signal) [SIGNALS_VIA_CHARACTERS, HAVE_TERMIOS]: If there's no char for this signal, drop through and use system calls. diff -r 349245fdad22 -r 598599edd5ca src/process.c --- a/src/process.c Sun Aug 22 17:43:26 2004 +0000 +++ b/src/process.c Sun Aug 22 17:45:36 2004 +0000 @@ -5578,8 +5578,12 @@ } if (sig_char && *sig_char != CDISABLE) - send_process (proc, sig_char, 1, Qnil); - return; + { + send_process (proc, sig_char, 1, Qnil); + return; + } + /* If we can't send the signal with a character, + fall through and send it another way. */ #else /* ! HAVE_TERMIOS */ /* On Berkeley descendants, the following IOCTL's retrieve the @@ -5636,9 +5640,12 @@ you'd better be using one of the alternatives above! */ #endif /* ! defined (TCGETA) */ #endif /* ! defined (TIOCGLTC) && defined (TIOCGETC) */ -#endif /* ! defined HAVE_TERMIOS */ + /* In this case, the code above should alway returns. */ abort (); - /* The code above always returns from the function. */ +#endif /* ! defined HAVE_TERMIOS */ + + /* The code above may fall through if it can't + handle the signal. */ #endif /* defined (SIGNALS_VIA_CHARACTERS) */ #ifdef TIOCGPGRP