Commit 817b371c authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

[USG] (SIGIO): Define as SIGPOLL.

(main) [USG]: Do ioctl to enable SIGPOLL.
parent 4158c17d
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment