From: Sam S. <sd...@gn...> - 2005-09-13 16:12:14
|
> * Dr. Werner Fink <jreare@fhfr.qr> [2005-09-13 17:51:32 +0200]: > > On Tue, Sep 13, 2005 at 11:09:58AM -0400, Sam Steingold wrote: >> > >> > Simply to get SIGPIPE defined, see line 466 ff of clx.f >> >> SIGPIPE is not used in clx.f, which says: >> >> /* including <signal.h> just for the sake of SIGPIPE >> (which is always there anyway) is a total waste */ >> # if defined(HAVE_SIGNALS) /* && defined(SIGPIPE) */ > > I'm only using 2.35 here and there it is. > Only the official release of clisp will > be part of openSusE ;) all patches must be against CVS head. >> int xlib_io_error_handler (Display *display) >> { >> begin_callback (); >> >> pushSTACK(find_display (display)); > > --> end_callback(); > >> fehler (error, "IO Error on display ~S."); >> } >> >> where would you like to have end_callback()? >> note that begin_callback() does not touch writing_to_subprocess. > > Hmmm ... does fehler() cause an exit of clisp? no. > If not then IMHO there should be called end_callback() to clear the > state. Or the other way around could be callback handler which does > this in an error case. fehler takes care of that, see the sources. -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.palestinefacts.org/> <http://www.memri.org/> <http://www.savegushkatif.org> <http://www.mideasttruth.com/> OK, so you're a Ph.D. Just don't touch anything. |