[bug #20067] Unescaped meta characters in makefile database outputs

2007-06-04 Thread Agent Zhang

URL:
  

 Summary: Unescaped meta characters in makefile database
outputs
 Project: make
Submitted by: agent
Submitted on: Monday 06/04/2007 at 13:01
Severity: 3 - Normal
  Item Group: Bug
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any
   Component Version: 3.81
Operating System: Any
   Fixed Release: None

___

Details:


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



 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 = '$@'



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



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.






___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


[bug #20067] Unescaped meta characters in makefile database outputs

2007-06-13 Thread Paul D. Smith

Update of bug #20067 (project make):

  Item Group: Bug => Enhancement


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


[bug #20067] Unescaped meta characters in makefile database outputs

2010-07-03 Thread Paul D. Smith

Update of bug #20067 (project make):

   Triage Status:None => Medium Effort  

___

Follow-up 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.

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make