about summary refs log tree commit diff
path: root/src/stdio/popen.c
Commit message (Collapse)AuthorAgeFilesLines
* make popen cancellation-safeRich Felker2012-06-201-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.
* popen: handle issues with fd0/1 being closedRich Felker2012-06-201-3/+3
| | | | | also check for failure of dup2 and abort the child rather than reading/writing the wrong file.
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+43