X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Gland Vador Subject: cygwin1.dll possible bug Date: Mon, 20 Feb 2006 13:44:09 +0100 Lines: 28 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 1.5 (Windows/20051201) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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/