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

 
 

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

Submitted by:  None
Submitted on:  Thu 26 Oct 2006 03:21:56 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.80Operating System: POSIX-Based
Fixed Release: 4.1Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

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 AdministratorIn charge of this item.
 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 AdministratorIn charge of this item.
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 File(s):
   
   
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
  • -unavailable- added by sevanath (Posted a comment)
  • -unavailable- added by psmith (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 20 Oct 2013 05:17:59 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.1
    Sun 21 Jun 2009 05:22:22 PM UTCpsmithSummarywilcard function fails (...)*/ expansion=>wildcard function fails (...)*/ expansion
    Thu 26 Oct 2006 03:21:56 PM UTCNoneAttached File-=>Added Makefile, #11080

    Back to the top


    Powered by Savane 3.1-cleanup1