summaryrefslogtreecommitdiff
path: root/src/stdio/popen.c
AgeCommit message (Collapse)AuthorLines
2012-06-20make popen cancellation-safeRich Felker-0/+7
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.
2012-06-20popen: handle issues with fd0/1 being closedRich Felker-3/+3
also check for failure of dup2 and abort the child rather than reading/writing the wrong file.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+43