Sean 'Shaleh' Perry <[EMAIL PROTECTED]> wrote:
> On 11-Dec-2001 Wilbert Berendsen wrote:

> >> I believe the signal it sends is "X is not here die now".  Which bb can not
> >> catch.
> > 
> > I think the signal is SIGPIPE (13, Broken pipe), Blackbox just terminates
> > without saving anything.
> > 
> 
> Not sure it should either.

In which case the following simple patch should fix the problem
(assuming BB _can_ catch SIGPIPE, and I don't see any reason why it
shouldn't be able to):

--- blackbox.cc.orig    Tue Dec 11 18:06:15 2001
+++ blackbox.cc Tue Dec 11 18:07:01 2001
@@ -749,6 +749,7 @@
     rereadMenu();
     break;
 
+  case SIGPIPE:
   case SIGSEGV:
   case SIGFPE:
   case SIGINT:


No?

-Jan

-- 
http://www.netmeister.org
http://guinness.cs.stevens-tech.edu/~jschauma/

Reply via email to