Follow-up Comment #1, bug #14840 (project freeciv): > Looks like MSG_NOSIGNAL is a Linux thing, and isn't portable to > (e.g.) Mac OS X and various BSDs (see e.g. here, here, here).
This is my mistake. > I think this came in in the fix for bug #14607 on trunk/S2_2. In > this case, there doesn't seem to be any need to suppress SIGPIPE > in fc_writesocket(), as fc_init_network() already sets up to > ignore SIGPIPE. So, I think it's OK to just revert to write(). It was already the case when I got this signal, and it didn't help. Attaching an other patch, testing the definition of MSG_NOSIGNAL. (file #7379) _______________________________________________________ Additional Item Attachment: File name: trunk_S2_2_MSG_NOSIGNAL.diff Size:0 KB _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?14840> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freecivemail@example.com https://mail.gna.org/listinfo/freeciv-dev