[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #20067] Unescaped meta characters in makefile database outputs
From: |
Agent Zhang |
Subject: |
[bug #20067] Unescaped meta characters in makefile database outputs |
Date: |
Mon, 04 Jun 2007 13:01:55 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Firefox/2.0.0.4 (Ubuntu-feisty) |
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 #20067] Unescaped meta characters in makefile database outputs,
Agent Zhang <=