[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] already connected when closed
From: |
Karl Berry |
Subject: |
Re: [bug-inetutils] already connected when closed |
Date: |
Fri, 13 Jul 2007 16:44:46 -0500 |
I really do not like to ignore signals
I hear you, but SIGPIPE is documented in this case, and we definitely
don't want to just crash with it, and we're doing the right thing
(disconnecting) if we see it.
Seems like the only alternative is the inferior-to-the-user choice of
invariably disconnecting ...
FWIW, SIG_IGN occurs in several other places, though I'm not sure if any
are exactly comparable:
cmds.c:172: signal (SIGPIPE, SIG_IGN);
cmds.c:1534: old1 = signal (SIGINT, SIG_IGN);
cmds.c:1535: old2 = signal (SIGQUIT, SIG_IGN);
ftp.c:390: if (abrtflag && oldintr != SIG_IGN)
ftp.c:507: if (abrtflag && oldintr != cmdabort && oldintr != SIG_IGN)
ftp.c:594: oldintp = signal (SIGPIPE, SIG_IGN);
ftp.c:697: oldintp = signal (SIGPIPE, SIG_IGN);
ftp.c:925: oldintp = signal (SIGPIPE, SIG_IGN);
ftp.c:1105: signal (SIGINT, SIG_IGN);
ftp.c:1539: signal (SIGINT, SIG_IGN);
Best,
Karl
- Re: [bug-inetutils] already connected when closed, Alfred M. Szmidt, 2007/07/01
- Re: [bug-inetutils] already connected when closed, Alfred M. Szmidt, 2007/07/01
- Re: [bug-inetutils] already connected when closed, Karl Berry, 2007/07/05
- Re: [bug-inetutils] already connected when closed, Alfred M. Szmidt, 2007/07/09
- Re: [bug-inetutils] already connected when closed, Karl Berry, 2007/07/10
- Re: [bug-inetutils] already connected when closed, Alfred M. Szmidt, 2007/07/11
- Re: [bug-inetutils] already connected when closed, Karl Berry, 2007/07/11
- Re: [bug-inetutils] already connected when closed, Alfred M. Szmidt, 2007/07/13
- Re: [bug-inetutils] already connected when closed,
Karl Berry <=
- Re: [bug-inetutils] already connected when closed, Alfred M. Szmidt, 2007/07/14
- Re: [bug-inetutils] already connected when closed, Karl Berry, 2007/07/15
- Re: [bug-inetutils] already connected when closed, Alfred M. Szmidt, 2007/07/15