bugmake - Bugs: bug #20067, Unescaped meta characters in...

 
 

bug #20067: Unescaped meta characters in makefile database outputs

Submitted by:  Agent Zhang <agent>
Submitted on:  Mon 04 Jun 2007 01:01:53 PM UTC  
 
Severity: 3 - NormalItem Group: Enhancement
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: 3.81Operating System: Any
Fixed Release: NoneTriage Status: Medium Effort

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 03 Jul 2010 07:40:57 PM UTC, comment #1:

It's never been a goal that the output of "make -p" should be a valid makefile that can be reused directly. I'm leaving this as an enhancement request.

Paul D. Smith <psmith>
Project Administrator
Mon 04 Jun 2007 01:01:53 PM UTC, original submission:

<p>
The bug is that 'make -pg' generates the following stuff for the
rule <code> foo\#bar.ext: ; @echo foo\#bar.ext = '$@' </code>:
</p>

<pre>
foo#bar.ext:
# Implicit rule search has not been done.
# Modification time never checked.
# File has not been updated.
# commands to execute (from `./Makefile_qCzal', line 6):
@echo foo\#bar.ext = '$@'
</pre>

<p>
where the first "#" character should have been escaped by "\" but doesn't. :(
</p>

<p>
In fact, meta characters like ':', '#', and '\' are all left unescaped in the makefile database output, which could result in ambiguous results and invalid makefile syntax.
</p>

Agent Zhang <agent>

 

(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 (Updated the item)
  • -unavailable- added by agent (Submitted the item)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 03 Jul 2010 07:40:57 PM UTCpsmithTriage StatusNone=>Medium Effort
    Thu 14 Jun 2007 02:28:36 AM UTCpsmithItem GroupBug=>Enhancement

    Back to the top


    Powered by Savane 3.1-cleanup1