delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/05/01:16:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <4279ACEF.58E14946@dessent.net>
Date: Wed, 04 May 2005 22:19:43 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin version 1.5.16-1 (exim 4.50-1, minires 1.00-1, perl 5.8.6-4) attempting to run spamassassin (spamc and spamd)
References: <4279A1A0 DOT 8050502 AT infobro DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

"Eric D. Williams" wrote:

> Thanks for the advice and help.  I just reviewed your post in the list
> archive (html). I will give the snapshot a try.  Is there any further
> reference to the SYSTEMROOT issue you referred to, e.g., date?  Just so
> I am clear you are suggesting a 'snapshot' of the -inst- not the
> cygwin1, yes?

In this case the problem was in the DLL, so you can replace just that. 
Normally you can pretty much always test snapshots by just replacing the
cygwin1.dll, but you don't want to do that if the includes, libs etc.
are from a much older version.  I.e. don't try to mix 1.5.16+ DLL with
1.5.12 includes and libs.  And obviously if the cause of the problem is
in one of the utils, then replacing just the DLL won't work.

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019