aboutsummaryrefslogtreecommitdiff
path: root/test/benchmark-tcp-write-batch.c
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-01-11 13:39:28 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2013-01-11 13:39:39 +0100
commitfc42885d0ebb877864f989a0a78ed3b4125448aa (patch)
treed24b75c571331863b8cf5f80312863337912618a /test/benchmark-tcp-write-batch.c
parent2ec2a5194fd65addbf1995992e91712719c532c9 (diff)
downloadlibuv-fc42885d0ebb877864f989a0a78ed3b4125448aa.tar.gz
libuv-fc42885d0ebb877864f989a0a78ed3b4125448aa.zip
unix: set closed fd to -1, avoid double close bugs
* abort() if close() fails * set fd to -1 after close() to prevent double close bugs
Diffstat (limited to 'test/benchmark-tcp-write-batch.c')
0 files changed, 0 insertions, 0 deletions