author | octo <octo> | |
Sat, 10 Jun 2006 12:59:43 +0000 (12:59 +0000) | ||
committer | octo <octo> | |
Sat, 10 Jun 2006 12:59:43 +0000 (12:59 +0000) | ||
commit | ed56e29953fc60756ebfee89423fc72347a41dba | |
tree | 28847218a5f8fc5712d26f06a9f8e3b957b0abbb | tree | snapshot |
parent | 03e31c0f58be4954fee95acaf5b9311959ce850d | commit | diff |
apcups branch: Fixed the behavior of `sread'.
If `sread' receives an EOF it will now close the file descriptor and return an
error. Prior to this revision it would try to read again and possibly fail
then.. Alternatively it might have crashed, who knows..? ;)
If `sread' receives an EOF it will now close the file descriptor and return an
error. Prior to this revision it would try to read again and possibly fail
then.. Alternatively it might have crashed, who knows..? ;)
src/common.c | diff | blob | history | |
src/common.h | diff | blob | history |