bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leftovers and lost SIGIOs


From: Pontus Skoeld
Subject: Re: Leftovers and lost SIGIOs
Date: 16 Sep 2002 15:25:14 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Richard Stallman <rms@gnu.org> writes:

> We have added #undef BROKEN_SIGIO to src/s/sol2-5.h.  Please
> see if rebuilding with that change solves the problem.

After doing the following to stop it from dying during bootstrap
because of unrequest_sigio

ida$ diff -u src/sysdep.c.real src/sysdep.c
--- src/sysdep.c.real   Mon Sep 16 11:15:33 2002
+++ src/sysdep.c        Mon Sep 16 11:52:23 2002
@@ -988,7 +988,7 @@
 
 #else /* not FASYNC, not STRIDE */
  
-#ifdef _CX_UX
+#if defined(_CX_UX) || (defined(SOLARIS2) && !defined(BROKEN_SIGIO))
 
 #include <termios.h>
 
@@ -1020,7 +1020,7 @@
   interrupts_deferred = 1;
 }
 
-#else /* ! _CX_UX */
+#else /* ! _CX_UX || (SOLARIS2 && !BROKEN_SIGIO) */
 
 void
 request_sigio ()
@@ -1039,8 +1039,7 @@
 
   croak ("unrequest_sigio");
 }
- 
-#endif /* _CX_UX */
+#endif /* _CX_UX || (SOLARIS2 && !BROKEN_SIGIO) */
 #endif /* STRIDE */
 #endif /* FASYNC */
 #endif /* F_SETFL */
ida$

I have so far (after a couple of hours of usage) noticed no ill
effects. Given how seldom the problem has occurred earlier, I think
I'll have to try it for a couple of months before I know whatever it
helps.

        /Pontus
-- 

Pontus Sköld, see <URL:http://soua.net/> for more information.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]