Move SIGPIPE suppression to gtk_init and document it
Some people were unhappy with doing it deep inside the lpr print backend at an unpredictable time, and SIGPIPE is almost never wanted anyway.
This commit is contained in:
@ -278,8 +278,6 @@ lpr_write (GIOChannel *source,
|
||||
{
|
||||
gsize bytes_written;
|
||||
|
||||
signal (SIGPIPE, SIG_IGN);
|
||||
|
||||
g_io_channel_write_chars (ps->in,
|
||||
buf,
|
||||
bytes_read,
|
||||
|
Reference in New Issue
Block a user