about summary refs log tree commit diff
path: root/library/std/src/sys/unix/net.rs
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2020-10-08 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2020-10-08 23:53:15 +0200
commit6cd5506897d5aadb57455f5081ff8efd77f93b69 (patch)
tree873c349bca34b25827d21d9e5cb7d1163fed3471 /library/std/src/sys/unix/net.rs
parent5faf25b95cac4f5b5d893ca3791d00f95342a6ac (diff)
downloadrust-6cd5506897d5aadb57455f5081ff8efd77f93b69.tar.gz
rust-6cd5506897d5aadb57455f5081ff8efd77f93b69.zip
Check for errors returned from posix_spawn*_init functions
The posix_spawnattr_init & posix_spawn_file_actions_init might fail,
but their return code is not checked.

Check for non-zero return code and destroy only succesfully initialized
objects.
Diffstat (limited to 'library/std/src/sys/unix/net.rs')
0 files changed, 0 insertions, 0 deletions