Fix spec %v3
From-SVN: r34586
This commit is contained in:
parent
c77b484a74
commit
289b3cc562
@ -1,3 +1,8 @@
|
|||||||
|
2000-06-17 Michael Meissner <meissner@redhat.com>
|
||||||
|
|
||||||
|
* gcc.c (do_spec_1, '%v3' case): Do not abort if patch level is
|
||||||
|
not present and there is a field after a '-'.
|
||||||
|
|
||||||
2000-06-17 Bruce Korb <bkorb@gnu.org>
|
2000-06-17 Bruce Korb <bkorb@gnu.org>
|
||||||
|
|
||||||
* fixinc/check.tpl: finish the implementation of multiple tests
|
* fixinc/check.tpl: finish the implementation of multiple tests
|
||||||
|
@ -4614,7 +4614,7 @@ do_spec_1 (spec, inswitch, soft_matched_part)
|
|||||||
q = v;
|
q = v;
|
||||||
while (ISDIGIT (*q))
|
while (ISDIGIT (*q))
|
||||||
q++;
|
q++;
|
||||||
if (*q != 0 && *q != ' ' && *q != '.' && *q != '-')
|
if (*q != 0 && q > v && *q != ' ' && *q != '.' && *q != '-')
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
if (q > v)
|
if (q > v)
|
||||||
|
Loading…
Reference in New Issue
Block a user