musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/string/strcspn.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012年09月24日 22:39:08 -0400
committerRich Felker <dalias@aerifal.cx>2012年09月24日 22:39:08 -0400
commit82dc1e2e783815e00a90cd3f681436a80d54a314 (patch)
tree4cf63d5f1c3e10255033200531ca214eca3aa7fe /src/string/strcspn.c
parent4b49060da09b37e36ae08b49499c4a53b4f53890 (diff)
downloadmusl-82dc1e2e783815e00a90cd3f681436a80d54a314.tar.gz
fix handling of EINTR during close()
austin group interpretation for defect #529 (http://austingroupbugs.net/view.php?id=529) tightens the requirements on close such that, if it returns with EINTR, the file descriptor must not be closed. the linux kernel developers vehemently disagree with this, and will not change it. we catch and remap EINTR to EINPROGRESS, which the standard allows close() to return when the operation was not finished but the file descriptor has been closed.
Diffstat (limited to 'src/string/strcspn.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月15日 11:06:00 +0000

AltStyle によって変換されたページ (->オリジナル) /