cURL / Mailing Lists / curl-library / Single Mail



From: Daniel Stenberg <>
Date: Tue, 2 Dec 2003 23:02:40 +0100 (CET)

On Tue, 2 Dec 2003, Giuseppe Attardi wrote:

> Wouldn't be enough just to add to setup.h:
> #ifndef MSG_NOSIGNAL
> #define MSG_NOSIGNAL 0
> #endif
> and then use
> #define sread(x,y,z) recv(x,y,z,MSG_NOSIGNAL)

Hehe, yes that would be significantly easier.

However, it would make an uglier check when we use that HAVE_MSG_NOSIGNAL
symbol to decide weather to include the SIGPIPE ignore code or not.

But then, I could make an #else and define the HAVE_MSG_NOSIGNAL there...

Thanks for being clear in your head when mine is filled with mist! ;-)

    Daniel Stenberg -- --
 [[ Do not post private mails to this email address. They won't reach me. ]]
This email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
Received on 2003-12-02