From: Richard M. Stallman Date: Sat, 10 Aug 1996 23:42:03 +0000 (+0000) Subject: (POSIX_SIGNALS): Don't define it, #undef instead. X-Git-Tag: emacs-19.34~5 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=416799ae25ea2fcea7bf523ef5ca15976ed84f73;p=emacs.git (POSIX_SIGNALS): Don't define it, #undef instead. (NO_SOCKETS_IN_FILE_SYSTEM): Definition deleted. (sigblock): New definition. --- diff --git a/src/s/sco5.h b/src/s/sco5.h index 6c4fa0adbbe..2c372febe6e 100644 --- a/src/s/sco5.h +++ b/src/s/sco5.h @@ -129,14 +129,10 @@ Boston, MA 02111-1307, USA. */ /* Tell process_send_signal to use VSUSP instead of VSWTCH. */ #define PREFER_VSUSP -/* wjs@wang.com (William Smith) says this is needed on 3.2.4.2. */ -#define POSIX_SIGNALS - -/* wjs@wiis.wang.com says SCO 3.2 v4.2 "has sockets", - but only for network connections. - It doesn't have the kind of sockets that emacsclient.c - and emacsserver.c would use. */ -#define NO_SOCKETS_IN_FILE_SYSTEM +/* SCO Unix has Posix signals, but in 3.2.5 something broken that causes + * all keyboard-quit signals to be lost after the first one. */ +#undef POSIX_SIGNALS +#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL)) #ifndef PENDING_OUTPUT_COUNT #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base)