WSASocketA returns WSAEPROVIDERFAILEDINIT

egor duda deo@logos-m.ru
Tue May 1 09:18:00 GMT 2001


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




More information about the Cygwin-apps mailing list