about summary refs log tree commit diff
path: root/src/stdio/getchar_unlocked.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/getchar_unlocked.c
parentf305467aad4659e92fff84be6c89d4767b6f99d4 (diff)
downloadmusl-9c21f4342c787e04a9e31ad8a1d87a65c89968ca.tar.gz
musl-9c21f4342c787e04a9e31ad8a1d87a65c89968ca.tar.xz
musl-9c21f4342c787e04a9e31ad8a1d87a65c89968ca.zip
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/getchar_unlocked.c')
0 files changed, 0 insertions, 0 deletions