"Brian Dessent" wrote (before I subscribed to the list):
"Eric D. Williams" wrote:
Also, thanks for the explanation below, I have included with this post to increase the hits in the google.com cache. Thank you Brian et. al.,
8<.snip.>8
I neglected to mention, specifically, Christopher 'cgf' Faylor, thanks Chris. BTW, how (by what mecahanism) did you discover that SYSTEMROOT was being dropped? Is there a pre-emptive, e.g., anti-drop path to a solution, or is 'clean-up' after reentry(?) the only way.
Eric
The SYSTEMROOT thing is explained in the archives. It seems to come up every so often. The gist of it is that the windows socket functions require that variable to be set, else they all fail. When you have applications like Apache that launch child processes it's often customary in the unix world to strip their environment of all nonessential variables, and if that happens with SYSTEMROOT then the process can't use sockets. Code was added in the DLL to try to always put the variable back when launching a process if it was stripped, but there was a recent regression that caused it to fail in certain circumstances (which was fixed promptly by cgf.)
Brian
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
-- Eric Williams, Pres. Information Brokers, Inc. Phone: +1 202.889.4395 http://www.infobro.com/ Fax: +1 202.889.4396 [EMAIL PROTECTED] For More Info: [EMAIL PROTECTED] PGP Public Key http://new.infobro.com/KeyServ/EricDWilliams.asc Finger Print: 1055 8AED 9783 2378 73EF 7B19 0544 A590 FF65 B789 ---------------------------------------------------------------- The information in this message is confidential. It is intended solely for addressee(s). Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/