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 | 06616db3622d97122c161ec4faf6cfbb85a10ab6 (patch) | |
tree | 2519476473e3184fa8cb5034ccf89fae10a22666 /docs/src | |
parent | ab6fc15a16978070239f8eb52f5418076aa8c46c (diff) | |
download | libuv-06616db3622d97122c161ec4faf6cfbb85a10ab6.tar.gz libuv-06616db3622d97122c161ec4faf6cfbb85a10ab6.zip |
unix: fix error handling in uv__make_socketpair()
This commit checks that setting the close-on-exec flag 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