summaryrefslogtreecommitdiff
path: root/src/s
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-08-10 23:42:03 +0000
committerRichard M. Stallman <rms@gnu.org>1996-08-10 23:42:03 +0000
commit0ee7d657619281190967fe2d61ab79d0e44b66e2 (patch)
treec587521221ad5b06a5cf2dc4277a2e2f2595221b /src/s
parent2ca56a780fe93cf02555968c6b58fbe5dbc6e040 (diff)
downloademacs-0ee7d657619281190967fe2d61ab79d0e44b66e2.tar.gz
(POSIX_SIGNALS): Don't define it, #undef instead.
(NO_SOCKETS_IN_FILE_SYSTEM): Definition deleted. (sigblock): New definition.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/sco5.h12
1 files changed, 4 insertions, 8 deletions
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)