OSDN Git Service

* select.cc (allocfd_set): Zero allocated fd_set.
authorcgf <cgf>
Wed, 9 Aug 2000 02:33:47 +0000 (02:33 +0000)
committercgf <cgf>
Wed, 9 Aug 2000 02:33:47 +0000 (02:33 +0000)
commita49504298ba36ddc2e4db5ed5c6cf1587c885f1b
treedbf5ade2f3e3b5bd92990eada60a2768c46c953e
parent8d004fa73f2281efc5b748b83902034b4043eb8d
* select.cc (allocfd_set): Zero allocated fd_set.
(cygwin_select): Move fd_set copying logic from ::wait to here.  Use common
return through sell.poll.
(select_stuff::wait): Just return success or failure and let caller fill in
fd_set.
* pinfo.h (pinfo): Eliminate self-referential pointer to sidbuf since pinfo
structure exists at random locations now.
* fork.cc (fork): Use 'use_psid' element to control when the psid is relevant.
* shared.cc (sec_user): Ditto.
* spawn.cc (spawn_guts): Ditto.
* uinfo.cc (internal_getlogin): Ditto.
* syscall.cc (seteuid): Ditto.  Set use_psid element.
winsup/cygwin/ChangeLog
winsup/cygwin/fork.cc
winsup/cygwin/pinfo.h
winsup/cygwin/select.cc
winsup/cygwin/shared.cc
winsup/cygwin/spawn.cc
winsup/cygwin/syscalls.cc
winsup/cygwin/uinfo.cc