aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-01-12 04:48:56 +0000
committerRichard M. Stallman1994-01-12 04:48:56 +0000
commit817b371ce04c3fa7b0cbb8dbd20323760781022a (patch)
treec39d204de1f115f381ed200c7d65d17d62cd7d31 /lib-src
parent4158c17d05765a77e587516ec539215753ef546e (diff)
downloademacs-817b371ce04c3fa7b0cbb8dbd20323760781022a.tar.gz
emacs-817b371ce04c3fa7b0cbb8dbd20323760781022a.zip
[USG] (SIGIO): Define as SIGPOLL.
(main) [USG]: Do ioctl to enable SIGPOLL.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/timer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib-src/timer.c b/lib-src/timer.c
index cb7c4c0b2b1..0b47fac3917 100644
--- a/lib-src/timer.c
+++ b/lib-src/timer.c
@@ -20,7 +20,7 @@
20#include <../src/config.h> 20#include <../src/config.h>
21#ifdef USG 21#ifdef USG
22#undef SIGIO 22#undef SIGIO
23#define SIGIO SIGUSR1 23#define SIGIO SIGPOLL
24#endif 24#endif
25 25
26#ifdef LINUX 26#ifdef LINUX
@@ -291,6 +291,9 @@ main (argc, argv)
291 fprintf (stderr, "%s\n", strerror (errno)); 291 fprintf (stderr, "%s\n", strerror (errno));
292 exit (1); 292 exit (1);
293 } 293 }
294#else /* USG */
295 /* Register this process for SIGPOLL. */
296 ioctl (0, I_SETSIG, S_RDNORM);
294#endif /* USG */ 297#endif /* USG */
295 298
296 /* In case Emacs sent some input before we set up 299 /* In case Emacs sent some input before we set up