[fpc-devel] MSG_NOSIGNAL in Mac OS X

Aleš Katona almindor at gmail.com
Fri Sep 19 12:16:50 CEST 2008


Dňa Pi, 2008-09-19 o 10:45 +0200, Marco van de Voort napísal:
> In our previous episode, Aleš Katona said:
> > Anyway if it's really there and tested, it should be added to the Darwin
> > unxsockh.inc.
> 
> As Jonas said, testing is non-trivial, since it is about a certain
> errorhandling condition, not a basic compile+connect.

That's why I said tested, not "compiles". Any number compiles.

All you need to do is break a send, make a program which repeats sends
and kill it in the middle of one. If the other end exits with SIGPIPE
we've got a loser.

Ales




More information about the fpc-devel mailing list