diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-07-11 08:59:02 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-07-11 08:59:02 +0000 |
commit | 7e6248ec083f9339cb09e25c8f5a111ce415d82a (patch) | |
tree | a97023293463d5320935c3c6d060a0f927c3f93b /winsup/mingw/gccmain.c | |
parent | 5a7054761c402d39d2447ab56c2f78acb94f0ec3 (diff) | |
download | newlib-7e6248ec083f9339cb09e25c8f5a111ce415d82a.zip newlib-7e6248ec083f9339cb09e25c8f5a111ce415d82a.tar.gz newlib-7e6248ec083f9339cb09e25c8f5a111ce415d82a.tar.bz2 |
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Handle
wsock_mtx and wsock_evt on fork, thus handling close_on_exec correctly.
(fhandler_socket::fixup_after_exec): Drop misguided attempt to handle
close_on_exec here.
(fhandler_socket::dup): Call fixup_after_fork with NULL parent.
Add comment.
(fhandler_socket::set_close_on_exec): Handle wsock_mtx and wsock_evt.
Diffstat (limited to 'winsup/mingw/gccmain.c')
0 files changed, 0 insertions, 0 deletions