This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: src/winsup/cygwin ChangeLog autoload.cc autolo ...


Hi!

Thursday, 03 May, 2001 corinna@sourceware.cygnus.com wrote:

cscc>         * net.cc (wsock_init): Add guard variable handling. Take care
cscc>         to call WSAStartup only once. Load WSAStartup without using
cscc>         autoload wrapper to eliminate recursion.  Eliminate FIONBIO
cscc>         and srandom stuff.

actually, srandom stuff was calles purposively in wsock_init. it's
supposed to make secret cookies for AF_UNIX sockets random. i know
that calling srandom() isn't the best way to assure this, but it's
better than nothing. I'll probably replace newlib's random to calls to
windows crypto-api, but until then, i think, srandom should be called
during init.

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]