This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: WSASocketA returns WSAEPROVIDERFAILEDINIT
Hi!
Tuesday, 01 May, 2001 Christopher Faylor cgf@redhat.com wrote:
>>it's certainly set by default. the problem is that spawnlpe (and
>>execle, for that matter), create process with new, constructed
>>environment, and if programmer won't include SystemRoot in this
>>constructed environment, new process won't have it. this may break
>>some standard windows components, including winsock.
CF> Should we add SystemRoot by default regardless of the passed in
CF> environment? That's certainly doable by modifying the winenv()
CF> function.
probably yes. i think %SystemDrive% is also good candidate to be added
regardless. looks like it's also used in couple of system dlls.
Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19