> -----Original Message-----
> From: cygwin-owner On Behalf Of Nitin Gupta
> Sent: 12 May 2004 18:58

> cat Makefile
> 
> 
> WORKSPACE=$(shell pwd)
> test:
>     @echo $(wildcard $(WORKSPACE)/ph*/*.cx)
> =============
> 
> Directory structure
> Makefile
> phase1/
> phase3/
> 
> phase1/main.cx
> phase1/phase1.hx
> 
> phase3/p123.cx
> phase3/p123.hx
> phase3/phase3.cx
> phase3/phase3.hx
> 
> ======================
> output of make (WRONG, please note main.cx is missing and p123.cx is 
> mentioned twice)
> /cygdrive/m/users/qasoft/tmp/bug/phase1/p123.cx 
> /cygdrive/m/users/qasoft/tmp/bug/phase1/phase3.cx 
> /cygdrive/m/users/qasoft/tmp/bug/phase3/p123.cx 
> /cygdrive/m/users/qasoft/tmp/bug/phase3/phase3.cx
> ========================

Bizarre.  WFM:

-------------------------------------------
[EMAIL PROTECTED] /tmp> cat Makefile

WORKSPACE=$(shell pwd)

test:
        @echo $(wildcard $(WORKSPACE)/ph*/*.cx)

[EMAIL PROTECTED] /tmp> ls -lartR
.:
total 1
drwxrwx---+  16 artimius Users           0 Apr 28 16:15 ..
drwxr-xr-x+   2 dk       Domain U        0 May 13 10:12 phase3
drwxrwxrwx+   4 artimius Users           0 May 13 10:17 .
drwxr-xr-x+   2 dk       Domain U        0 May 13 10:18 phase1
-rw-r--r--    1 dk       Domain U       83 May 13 10:19 Makefile

./phase3:
total 0
-rw-r--r--    1 dk       Domain U        0 May 13 10:11 p123.cx
-rw-r--r--    1 dk       Domain U        0 May 13 10:11 p123.hx
-rw-r--r--    1 dk       Domain U        0 May 13 10:12 phase3.cx
-rw-r--r--    1 dk       Domain U        0 May 13 10:12 phase3.hx
drwxr-xr-x+   2 dk       Domain U        0 May 13 10:12 .
drwxrwxrwx+   4 artimius Users           0 May 13 10:17 ..

./phase1:
total 0
-rw-r--r--    1 dk       Domain U        0 May 13 10:11 main.cx
-rw-r--r--    1 dk       Domain U        0 May 13 10:11 phase1.hx
drwxrwxrwx+   4 artimius Users           0 May 13 10:17 ..
drwxr-xr-x+   2 dk       Domain U        0 May 13 10:18 .
[EMAIL PROTECTED] /tmp> make
/tmp/phase1/main.cx /tmp/phase3/p123.cx /tmp/phase3/phase3.cx
[EMAIL PROTECTED] /tmp>
-------------------------------------------

  So, can't reproduce it here.  Please do verify that your directory
contents actually are what you think they are, and that they haven't somehow
become inadvertently crosslinked or duplicated or something.



    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


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

Reply via email to