delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/20/07:51:00

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Gland Vador <glandvador AT yahoo DOT com>
Subject: cygwin1.dll possible bug
Date: Mon, 20 Feb 2006 13:44:09 +0100
Lines: 28
Message-ID: <dtcdiq$h9a$1@sea.gmane.org>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5 (Windows/20051201)
X-IsSubscribed: yes
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

Hello,

I have found a strange behaviour in the last (cygwin-1.5.19-4) cygwin1.dll.

I have the folowing code in a makefile:

@echo $(foreach z,$(strip $(REQUIRES)),            \
          $(if $(_$(z)_DIR), $(wildcard $(_$(z)_DIR)/inc),))

where $(REQUIRES) are ie: module1 module2 module3
       $(_module*_DIR) is a folder on a nework drive, inside this folder 
I have a optional subfolder named "inc".

For some modules (always the same) the construction $(wildcard 
$(_$(z)_DIR)/inc) return a empty result even if the inc folder exists. I 
don't found any visible difference between those modules and a working 
one. But with the previous dll (cygwin-1.5.18-1) the code is doing fine.

A workaround I found is to put a slash (/) at the end of the inc:

	$(wildcard $(_$(z)_DIR)/inc/),)

This problem appears with the oldest snapshot available at 
http://cygwin.com/snapshots/.

Any ideas ?

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