changeset 15857:f3f1f879d812

(POSIX_SIGNALS): Don't define it, #undef instead. (NO_SOCKETS_IN_FILE_SYSTEM): Definition deleted. (sigblock): New definition.
author Richard M. Stallman <rms@gnu.org>
date Sat, 10 Aug 1996 23:42:03 +0000
parents 11039e684bd8
children 946a4fb104ef
files src/s/sco5.h
diffstat 1 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/sco5.h	Sat Aug 10 18:58:06 1996 +0000
+++ b/src/s/sco5.h	Sat Aug 10 23:42:03 1996 +0000
@@ -129,14 +129,10 @@
 /* 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)