bugmake - Bugs: bug #26863, $(wildcard x*/) returns...

 
 

bug #26863: $(wildcard x*/) returns non-directories?

Submitter:  Manoj Srivastava <srivasta>
Submitted:  Sun 21 Jun 2009 04:46:39 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  3.81 Operating System:  POSIX-Based
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 21 Jun 2009 05:23:59 PM UTC, comment #1: 

Thanks for the report.  I believe this is a duplicate of Savannah bug #18123.

If you believe this is incorrect please add a comment here.

Paul D. Smith <psmith>
Group administrator
Sun 21 Jun 2009 04:46:39 PM UTC, original submission:  

Hi,

        This bug was reported by a Debian user.

In the transcript below, I test globbing in both the shell and in GNU Make's $(wildcard) function.  It seems to me that while and / behave correctly, but ?*/ should NOT list the file y.

$ with-temp-dir
with-temp-dir: entering directory `/tmp/with-temp-dir.bNzKiB'
This directory will be deleted when you exit.
$ mkdir x
$ touch y
$ echo *
x y
$ echo */
x/
$ echo ?*/
x/
$ printf 'z:\n\t#$(wildcard *)' | make -f -
#x y
$ printf 'z:\n\t#$(wildcard */)' | make -f -
#x/
$ printf 'z:\n\t#$(wildcard ?*/)' | make -f -
#x/ y
$ exit
with-temp-dir: leaving directory `/tmp/with-temp-dir.bNzKiB'
$

        manoj

Manoj Srivastava <srivasta>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by srivasta (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496615)
  • -email is unavailable- added by srivasta (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496615)
  • -email is unavailable- added by srivasta (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-06-21 psmith StatusNone Duplicate
        Open/ClosedOpen Closed
    2009-06-21 srivasta Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added "trent w. buck" <trentbuck@gmail.com>

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code