[Mono-list] Re: Patch for MSG_NOSIGNAL
Dick Porter
dick@ximian.com
Thu, 13 Jun 2002 08:37:00 +0100
On Thu, Jun 13, 2002 at 09:14:18AM +0200, Jaroslaw Kowalski wrote:
>
> I've noticed you are still testing for the presence of MSG_NOSIGNAL in
> daemon.c. Why? You can just install the handler and forget MSG_NOSIGNAL
> and all #ifdef's in _wapi_daemon_* code...
Because setting the option on the sendto is cleaner, and expresses what I
mean better than just globally ignoring SIGPIPE.
Ideally the systems that lack MSG_NOSIGNAL will catch up eventually.
- Dick