URL: <http://savannah.gnu.org/bugs/?20067>
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: <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> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?20067> _______________________________________________ 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