aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2003-06-13 06:58:11 +0000
committerDon Lewis <truckman@FreeBSD.org>2003-06-13 06:58:11 +0000
commitb156281658faa286ccc8fb23e28c18b71b14e749 (patch)
treeb880b4df5a817fe3e66f83f5b7c58a666cfbe449 /bin
parent33a609ece0410174e895ff49f019d843456022d1 (diff)
downloadsrc-b156281658faa286ccc8fb23e28c18b71b14e749.tar.gz
src-b156281658faa286ccc8fb23e28c18b71b14e749.zip
Clean up the fifo_open() implementation:
Restructure the error handling portion of the resource allocation code to eliminate duplicated code. Test for the O_NONBLOCK && fi_readers == 0 case before incrementing fi_writers and modifying the the socket flag to avoid having to undo these operations in this error case. Restructure and simplify the code that handles blocking opens. There should be no change to functionality.
Notes
Notes: svn path=/head/; revision=116281
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions