[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #29245] Bug with DOS Path in Secondary Expansion (with Fix)
From: |
anonymous |
Subject: |
[bug #29245] Bug with DOS Path in Secondary Expansion (with Fix) |
Date: |
Wed, 17 Mar 2010 12:07:44 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2) |
URL:
<http://savannah.gnu.org/bugs/?29245>
Summary: Bug with DOS Path in Secondary Expansion (with Fix)
Project: make
Submitted by: None
Submitted on: Wed 17 Mar 2010 12:07:43 PM UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: CVS
Operating System: MS Windows
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
There's an issue regarding the use of a DOS paths in a secondary expansion.
Here's a minimal Makefile to demonstrate it:
-----------------------------------
.SECONDEXPANSION: foobar.o
.PHONY: C:/foobar.c
func = $1
foobar.o: $$(call func,C:/foobar.c)
-----------------------------------
The code above triggers the unsubstantial error message:
makefile:6: *** multiple target patterns. Stop.
The fix is to change line 1148 in read.c from:
(p == p2 + 1 || strchr (" \t:(", p[-2]) != 0)) {
to:
(p == p2 + 1 || strchr (" \t:(,", p[-2]) != 0)) {
Oliver Schmidt - oschmidt(at)sap.com
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29245>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #29245] Bug with DOS Path in Secondary Expansion (with Fix),
anonymous <=