diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2020-02-04 16:36:59 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2020-02-04 16:36:59 +0100 |
commit | 1b92af1343c87567f00c095a420dc2ce8add9d91 (patch) | |
tree | 695472c982844c199bccdbc5e8d6f44c28ce757e /docs/src | |
parent | 233490819ca4010d0db70a0ae411ae9f73571baa (diff) | |
download | libuv-1b92af1343c87567f00c095a420dc2ce8add9d91.tar.gz libuv-1b92af1343c87567f00c095a420dc2ce8add9d91.zip |
unix: fix error handling in uv__make_pipe()
This commit checks that setting the close-on-exec and non-blocking flags
on the file descriptors succeeds, and closes the file descriptors when
it fails.
PR-URL: https://github.com/libuv/libuv/pull/2665
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions