bugmake - Bugs: bug #18123, wildcard function fails (...)*/...

 
 

bug #18123: wildcard function fails (...)*/ expansion

Submitter:  None
Submitted:  Thu 26 Oct 2006 03:21:56 PM UTC
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.80 Operating System:  POSIX-Based
Fixed Release:  4.1 Triage Status:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Sun 20 Oct 2013 03:12:05 PM UTC, comment #3: 

A fix for this was just made to the GLIBC repo (see bug referenced below).  I'll pull the latest code into make's internal glob implementation for the next release, but for systems (like all GNU/Linux systems) that have glibc as their native library GNU make will defer to the system glob implementation, so you'll need to update your system glibc to get this fix.

Paul D. Smith <psmith>
Project Administrator
  Spam posted by sevanath
Sat 13 Jun 2009 09:58:46 PM UTC, comment #1: 

GNU make uses the libc glob(3) function to expand wildcard expressions.  I've checked with GNU libc and the behavior you're seeing is actually what glob(3) is returning to us.  Possibly other libc's will have different behavior.

I've filed a bug with GNU libc on this issue:

http://sourceware.org/bugzilla/show_bug.cgi?id=10278

Paul D. Smith <psmith>
Project Administrator
Thu 26 Oct 2006 03:21:56 PM UTC, original submission:  

Supposing wildcard function expands its arguments as the shell does, it should only generate directory paths when the pattern ends with /.
This is not the case : it does so this with */, but not with more complex patterns, which will also generate file paths.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #11080:  Makefile added by None (429B - application/octet-stream - Use make dirs, then make list to see the different behaviours)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sevanath (Posted a comment)
  • -email is unavailable- added by psmith (Posted a comment)
  •  

    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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-20 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.1
    2009-06-21 psmith Summarywilcard function fails (...)*/ expansion wildcard function fails (...)*/ expansion
    2006-10-26 None Attached File- Added Makefile, #11080

    Back to the top


    Powered by Savane 3.9