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.
Showing
想要评论请 注册 或 登录