Commit ceb45eb8 by Scott Weikart Committed by Jeff Law

* fix-header.c (main): Do not pass a null pointer to strcmp.

From-SVN: r28960
parent 090164c0
Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
* fix-header.c (main): Do not pass a null pointer to strcmp.
Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
* configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
......
......@@ -1140,7 +1140,7 @@ main (argc, argv)
if (entry->flags)
add_symbols (entry->flags, entry->names);
entry++;
if (strcmp (entry->name, CONTINUED) != 0)
if (!entry->name || strcmp (entry->name, CONTINUED) != 0)
break;
}
}
......
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