mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-17 19:20:01 +08:00
jcf-depend.c (add_entry): Fixed bug where list was always replaced with latest entry.
2000-04-03 Matt Welsh <mdw@cs.berkeley.edu> * jcf-depend.c (add_entry): Fixed bug where list was always replaced with latest entry. From-SVN: r32936
This commit is contained in:
parent
07edd4c51e
commit
4200941b0f
@ -1,3 +1,8 @@
|
||||
2000-04-03 Matt Welsh <mdw@cs.berkeley.edu>
|
||||
|
||||
* jcf-depend.c (add_entry): Fixed bug where list was always replaced
|
||||
with latest entry.
|
||||
|
||||
2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* boehm.c (mark_reference_fields, set_bit): Prototype.
|
||||
|
@ -94,7 +94,7 @@ add_entry (entp, name)
|
||||
ent->file = xstrdup (name);
|
||||
ent->next = NULL;
|
||||
|
||||
if (last == *entp)
|
||||
if (last == NULL)
|
||||
{
|
||||
// This is only true the first time through, when the entry list
|
||||
// is empty.
|
||||
|
Loading…
Reference in New Issue
Block a user