cygwin1.dll possible bug

Gland Vador glandvador@yahoo.com
Mon Feb 20 13:00:00 GMT 2006


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/



More information about the Cygwin mailing list