This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
RE: Patch: SIGPIPE and DISABLE_JAVA_NET
- To: Anthony Green <green at redhat dot com>
- Subject: RE: Patch: SIGPIPE and DISABLE_JAVA_NET
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Wed, 23 May 2001 21:27:56 -0400 (EDT)
- cc: java-patches at gcc dot gnu dot org
On Wed, 23 May 2001, Anthony Green wrote:
> Is this better?
I think so.
> Could somebody explain how the sigaction code is different
> from my simple `signal' call?
signal() on many platforms will reset to SIG_DFL after it is handled. For
that reason sigaction() is preferred for most uses of signal.
In the case of SIG_IGN, the SIGPIPE is never handled, so
there is probably no difference whatsoever.
Jeff