Commit 4200941b by Matt Welsh Committed by Tom Tromey

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
parent 07edd4c5
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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment