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/stdio/pclose.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012年06月20日 14:39:50 -0400
committerRich Felker <dalias@aerifal.cx>2012年06月20日 14:39:50 -0400
commit9c21f4342c787e04a9e31ad8a1d87a65c89968ca (patch)
treeec09299484f96dd61e6ebe84f37ceab69610a3f5 /src/stdio/pclose.c
parentf305467aad4659e92fff84be6c89d4767b6f99d4 (diff)
downloadmusl-9c21f4342c787e04a9e31ad8a1d87a65c89968ca.tar.gz
make popen cancellation-safe
close was the only cancellation point called from popen, but it left popen with major resource leaks if any call to close got cancelled. the easiest, cheapest fix is just to use a non-cancellable close function.
Diffstat (limited to 'src/stdio/pclose.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月09日 10:36:03 +0000

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