commit -- fix for bug #219
Matt Kimball (robozapp@xmission.com)
Sat, 15 May 1999 15:17:57 -0600
AbiWord used to crash if a bogus command was entered in the Unix print
dialog. Shaw suggested fork()/exec() rather than popen() as a fix.
Although it would mask the problem in this particular case, there was
still the problem of the pipe being closed while AbiWord is still
trying to write to it, so instead I guarded against SIGPIPE signals
wherever a ps_Generate tries to write to it's file pointer.
Now the problem is that the only indication of what went wrong while
printing to a bogus command is a message to stderr, not some nice
dialog box. But it doesn't crash anymore.
--
Matt Kimball
mkimball@xmission.com
This archive was generated by hypermail 1.03b2.