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 - Blocker Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  Paul D. Smith <psmith> Open/Closed:  Closed
Component Version:  3.81 Operating System:  Any
Fixed Release:  4.0 Triage 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 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)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-03-04 psmith StatusNone => Fixed
        Assigned toNone => psmith
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.0

    Back to the top


    Powered by Savane 3.5