delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/04/08:04:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 4 Jan 2002 08:08:11 -0500
From: Jason Tishler <jason AT tishler DOT net>
To: Greg Matheson <lang AT ms DOT chinmin DOT edu DOT tw>
Cc: Cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: procmail (and SmartList) on cygwin
Message-ID: <20020104130811.GE2008@dothill.com>
Mail-Followup-To: Greg Matheson <lang AT ms DOT chinmin DOT edu DOT tw>,
Cygwin <cygwin AT sources DOT redhat DOT com>
References: <017101c181a0$b47a29e0$738ffe0c AT pwork> <20011210134958 DOT A2088 AT dothill DOT com> <20011231153810 DOT A16346629 AT IBM973237G> <20020103141110 DOT GF1940 AT dothill DOT com> <20020104121305 DOT A60080 AT ms DOT chinmin DOT edu DOT tw>
Mime-Version: 1.0
In-Reply-To: <20020104121305.A60080@ms.chinmin.edu.tw>
User-Agent: Mutt/1.3.24i

Greg,

On Fri, Jan 04, 2002 at 12:13:06PM +0800, Greg Matheson wrote:
> On Thu, 03 Jan 2002, Jason Tishler wrote:
> > Did you apply the patch... IIRC, then it
> > should have solved the problem with the execv() test.
> 
> It seems the patch had been applied. So, I changed line 1353 of
> autoconf back to
> 
>    *(environ=nenv)="PATH=.";*nenviron=0;diff=argc;    /* start doubling */
> 
> and now I get 2 error messages from Windows, about not being able to find
> CYGWIN1.DLL,

This makes perfect sense since the above changes PATH to only contain
the current directory (i.e., ".").  Hence, cygwin1.dll will not be found
unless you copy it into the procmail source tree.

Note this is what I initially did while trying to debug this problem.
After this worked, I removed the (ill-advised) copy and tried the
following:

    *(environ=nenv)="PATH=/usr/bin";*nenviron=0;diff=argc;

Unfortunately, this caused the test program to crash.  I was lame and
gave up debugging and just settled with:

    *nenviron=0;diff=argc;

which seemed sufficient.

> [snip]
> This is on Windows 98.

My experience is on Windows 2000 so we may be observing some differences
due to different platforms

IIRC, http://www.dd.iij4u.or.jp/~madokam/ has a Windows 9x/Me specific
patch that you may consider using.

> I mentioned the existence of the executable on the procmail list,
> but there was no reaction.

No surprise.  My experience on other lists seems to indicate that Cygwin
is considered to be the "Rodney Dangerfield" of platforms.  Sigh...

Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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