OSDN Git Service

* libc/minires.c (open_sock): Set non blocking and close on exec.
authorcorinna <corinna>
Wed, 3 Dec 2008 16:37:49 +0000 (16:37 +0000)
committercorinna <corinna>
Wed, 3 Dec 2008 16:37:49 +0000 (16:37 +0000)
commit2f8531baca87c611d45911a5b386f53ad112beee
tree782b74adf9160739be333bfeb50fe78f9d4e4452
parente39bb8716dd0a605e3c0f6a796ab0cdd0ba637ca
* libc/minires.c (open_sock): Set non blocking and close on exec.
(res_ninit): Set id pseudo-randomly.
(res_nsend): Do not set close on exec. Initialize server from id.
Flush socket. Tighten rules for answer acceptance.
(res_nmkquery): Update id using current data.
winsup/cygwin/ChangeLog
winsup/cygwin/libc/minires.c