summaryrefslogtreecommitdiff
path: root/src/stdio/pclose.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-20avoid cancellation in pcloseRich Felker1-3/+4
at the point pclose might receive and act on cancellation, it has already invalidated the FILE passed to it. thus, per musl's QOI guarantees about cancellation and resource allocation/deallocation, it's not a candidate for cancellation. if it were required to be a cancellation point by posix, we would have to switch the order of deallocation, but somehow still close the pipe in order to trigger the child process to exit. i looked into doing this, but the logic gets ugly, and i'm not sure the semantics are conformant, so i'd rather just leave it alone unless there's a need to change it.
2012-06-20fix invalid memory access in pcloseRich Felker1-1/+2
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+10