Changeset 687f7d for TODO


Ignore:
Timestamp:
04/24/10 14:12:00 (2 years ago)
Author:
Tomash Brechko <tomash.brechko@…>
Branches:
master
Children:
335378
Parents:
ed2993
git-author:
Tomash Brechko <tomash.brechko@…> (04/24/10 14:12:00)
git-committer:
Tomash Brechko <tomash.brechko@…> (04/24/10 14:12:00)
Message:

Revert "Fix SIGPIPE ignoring."

Turned out some orthodox systems do not have sigtimedwait(). Since
advanced systems that have sigtimedwait() also have MSG_NOSIGNAL and
thus do not use SIGPIPE suppression code in question, and other
systems have neither MSG_NOSIGNAL nor sigtimedwait(), the only option
is to revert to the previous suppression code. It works correctly
unless your program is multi-threaded.

This reverts commit 957de1c85a26ef090d3ac1dfa0d244fd1032556d.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TODO

    r957de1 r687f7d  
    3232  (SOL_SOCKET option). 
    3333 
     34- use sigpending() for SIGPIPE. 
     35 
    3436- set close-on-exec (SO_CLOEXEC). 
    3537 
Note: See TracChangeset for help on using the changeset viewer.