From: Richard M. Stallman Date: Wed, 12 Jan 1994 04:48:56 +0000 (+0000) Subject: [USG] (SIGIO): Define as SIGPOLL. X-Git-Tag: emacs-19.34~10280 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=817b371ce04c3fa7b0cbb8dbd20323760781022a;p=emacs.git [USG] (SIGIO): Define as SIGPOLL. (main) [USG]: Do ioctl to enable SIGPOLL. --- 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 @@ #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