Fix spec %v3
From-SVN: r34586
This commit is contained in:
parent
c77b484a74
commit
289b3cc562
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
||||
|
||||
* fixinc/check.tpl: finish the implementation of multiple tests
|
||||
|
|
|
@ -4614,7 +4614,7 @@ do_spec_1 (spec, inswitch, soft_matched_part)
|
|||
q = v;
|
||||
while (ISDIGIT (*q))
|
||||
q++;
|
||||
if (*q != 0 && *q != ' ' && *q != '.' && *q != '-')
|
||||
if (*q != 0 && q > v && *q != ' ' && *q != '.' && *q != '-')
|
||||
abort ();
|
||||
|
||||
if (q > v)
|
||||
|
|
Loading…
Add table
Reference in a new issue