bugmake - Bugs: bug #16545, Escaping a ":" in an...

 
 

bug #16545: Escaping a ":" in an escaped substition reference on a prereq line dumps core

Submitted by:  Paul D. Smith <psmith>
Submitted on:  Sun 07 May 2006 06:56:57 PM UTC  
 
Severity: 5 - BlockerItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.81Operating System: Any
Fixed Release: 4.0Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 04 Mar 2012 04:55:32 PM UTC, comment #1:

Fixed. If you don't escape the ":" it will still fail (right now we get an infinite loop so that needs to be addressed but that's a different bug) but without the escape it's not a legal syntax.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Sun 07 May 2006 06:56:57 PM UTC, original submission:

Using this makefile:

$ cat Makefile
.PHONY: foo.bar
.SECONDEXPANSION:
foo: $$(@\:%=%.bar); @echo $^

$ make
Makefile:3: Malformed target-specific variable definition
Segmentation fault (core dumped)

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 04 Mar 2012 04:55:32 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.0

    Back to the top


    Powered by Savane 3.1-cleanup1