Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/gnu/dist/toolchain/gcc/f Pull up revision 1.2 (requeste...
details: https://anonhg.NetBSD.org/src/rev/6e701a53d587
branches: netbsd-1-6
changeset: 529644:6e701a53d587
user: he <he%NetBSD.org@localhost>
date: Tue Dec 03 22:37:56 2002 +0000
description:
Pull up revision 1.2 (requested by he in ticket #1025):
Fix a bug with list handling which causes this to abort
with an ``extraneous <string>'' message when it should not.
Should fix build problem observed on newsmips port.
diffstat:
gnu/dist/toolchain/gcc/f/fini.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 03fb52766e53 -r 6e701a53d587 gnu/dist/toolchain/gcc/f/fini.c
--- a/gnu/dist/toolchain/gcc/f/fini.c Tue Dec 03 22:11:07 2002 +0000
+++ b/gnu/dist/toolchain/gcc/f/fini.c Tue Dec 03 22:37:56 2002 +0000
@@ -418,7 +418,8 @@
while ((n->next != (name) &names[len])
&& (strcmp (buf, n->next->name_uc) > 0))
n = n->next;
- if (strcmp (buf, n->next->name_uc) == 0)
+ if (n->next != (name) &names[len]
+ && strcmp (buf, n->next->name_uc) == 0)
{
fprintf (stderr, "%s: extraneous \"%s\"\n", input_name, buf);
do_exit = TRUE;
Home |
Main Index |
Thread Index |
Old Index