delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/21/04:02:17

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Gland Vador <glandvador AT yahoo DOT com>
Subject: Re: cygwin1.dll possible bug
Date: Tue, 21 Feb 2006 10:01:35 +0100
Lines: 36
Message-ID: <dtektf$2m9$1@sea.gmane.org>
References: <022020061447 DOT 1372 DOT 43F9D692000F41EB0000055C22007610640A050E040D0C079D0A AT comcast DOT net> <dtcnvr$pp8$1 AT sea DOT gmane DOT org> <20060220165827 DOT GA9592 AT trixie DOT casa DOT cgf DOT cx>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5 (Windows/20051201)
In-Reply-To: <20060220165827.GA9592@trixie.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

Christopher Faylor wrote:
> I've created a Makefile that looks like this:
> 
>   _module1_DIR=/share/tmp/module1
>   _module2_DIR=/share/tmp/module2
>   _module3_DIR=/share/tmp/module3
>   REQUIRES:=module1 module2 module3
>   all:
> 	  @echo $(foreach z,$(strip $(REQUIRES)),            \
> 		  $(if $(_$(z)_DIR), $(wildcard $(_$(z)_DIR)/inc),))
> 
> 
> And created directories /share/tmp/module{1,2,3} and /share/tmp/module1/inc.
> When I run this makefile, /share/tmp/module1/inc is output with both 1.5.19
> DLLs and with a snapshot DLL.  (/share/tmp is, of course, a remote drive)
> 
> So, I've gone the extra mile and tried to come up with a "simple test case"
> (patent pending) but apparently I didn't duplicate your scenario adequately
> and, so, we need more details about your environment.


I used this "simple test case" (sorry for patent violation) and of 
course it worked fine. But in my huge framework it broke.

Anyway the latest snapshot 02-20 solved both (.bat and the wilcard) 
problems. Thanks for the fix.

A last question:

While I can understand the fix for the bat files (from the snapshot 
diffs), what could have solved the wilcard one ?

Edd.





--
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