changeset 5571:c50d6d8ad8c1

[USG] (SIGIO): Define as SIGPOLL. (main) [USG]: Do ioctl to enable SIGPOLL.
author Richard M. Stallman <rms@gnu.org>
date Wed, 12 Jan 1994 04:48:56 +0000
parents 2c5f3537a1cc
children f1e5e8a324a5
files lib-src/=timer.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/=timer.c	Wed Jan 12 00:49:37 1994 +0000
+++ b/lib-src/=timer.c	Wed Jan 12 04:48:56 1994 +0000
@@ -20,7 +20,7 @@
 #include <../src/config.h>
 #ifdef USG
 #undef SIGIO
-#define SIGIO	SIGUSR1
+#define SIGIO SIGPOLL
 #endif
 
 #ifdef LINUX
@@ -291,6 +291,9 @@
       fprintf (stderr, "%s\n", strerror (errno));
       exit (1);
     }
+#else /* USG */
+  /* Register this process for SIGPOLL.  */
+  ioctl (0, I_SETSIG, S_RDNORM);
 #endif /* USG */
 
   /* In case Emacs sent some input before we set up