]> git.eshelyaron.com Git - emacs.git/commitdiff
[USG] (SIGIO): Define as SIGPOLL.
authorRichard M. Stallman <rms@gnu.org>
Wed, 12 Jan 1994 04:48:56 +0000 (04:48 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 12 Jan 1994 04:48:56 +0000 (04:48 +0000)
(main) [USG]: Do ioctl to enable SIGPOLL.

lib-src/timer.c

index cb7c4c0b2b12b629995a85a0676394305f12dea2..0b47fac39172310fa9d0fc90b403651be103470e 100644 (file)
@@ -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 @@ main (argc, argv)
       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