This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Patch: SIGPIPE and DISABLE_JAVA_NET




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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]