Commit 4aa4d69b authored by Karl Heuer's avatar Karl Heuer
Browse files

(input_available_signal, interrupt_signal):

Don't reinstall sig handler if POSIX_SIGNALS.
parent 8489d7a9
......@@ -4927,7 +4927,7 @@ input_available_signal (signo)
extern int select_alarmed;
#endif
#ifdef USG
#if defined(USG) && !defined(POSIX_SIGNALS)
/* USG systems forget handlers when they are used;
must reestablish each time */
signal (signo, input_available_signal);
......@@ -7365,7 +7365,7 @@ interrupt_signal (signalnum) /* If we don't have an argument, */
/* Must preserve main program's value of errno. */
int old_errno = errno;
#ifdef USG
#if defined(USG) && !defined(POSIX_SIGNALS)
if (!read_socket_hook && NILP (Vwindow_system))
{
/* USG systems forget handlers when they are used;
......
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