[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pattern rule defined multiple times
From: |
Paul D. Smith |
Subject: |
Re: Pattern rule defined multiple times |
Date: |
Tue, 3 Jan 2006 12:22:45 -0500 |
Never mind about reporting this on Savannah, I've fixed this bug. The
fix will be available in the next release.
If you want to test the fix, apply this patch:
--- read.c 14 Dec 2005 13:11:18 -0000 1.155
+++ read.c 3 Jan 2006 17:21:02 -0000
@@ -1177,10 +1177,12 @@
/* Put all the prerequisites here; they'll be parsed
later. */
deps = (struct dep *) xmalloc (sizeof (struct dep));
deps->next = 0;
- deps->name = xstrdup (beg);
+ deps->name = savestring (beg, end - beg + 1);
+ deps->file = 0;
+ deps->changed = 0;
+ deps->ignore_mtime = 0;
deps->staticpattern = 0;
deps->need_2nd_expansion = 0;
- deps->file = 0;
}
else
deps = 0;
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist