Commit 93b9cce7 by Jeffrey A Law Committed by Jeff Law

fix-header.c (main): When testing for CONTINUED, use string equality, not pointer equality.


        * fix-header.c (main): When testing for CONTINUED, use string
        equality, not pointer equality.

From-SVN: r28396
parent 110b0302
Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
* fix-header.c (main): When testing for CONTINUED, use string
equality, not pointer equality.
Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu> Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
* sparc.c (sparc_block_profiler): Use the %g2 register, not %o0. * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
......
...@@ -1127,7 +1127,7 @@ main (argc, argv) ...@@ -1127,7 +1127,7 @@ main (argc, argv)
special_file_handling = stdio_h; special_file_handling = stdio_h;
include_entry = std_include_table; include_entry = std_include_table;
while (include_entry->name != NULL while (include_entry->name != NULL
&& (include_entry->name == CONTINUED && ((strcmp (include_entry->name, CONTINUED) == 0)
|| strcmp (inc_filename, include_entry->name) != 0)) || strcmp (inc_filename, include_entry->name) != 0))
include_entry++; include_entry++;
...@@ -1140,7 +1140,7 @@ main (argc, argv) ...@@ -1140,7 +1140,7 @@ main (argc, argv)
if (entry->flags) if (entry->flags)
add_symbols (entry->flags, entry->names); add_symbols (entry->flags, entry->names);
entry++; entry++;
if (entry->name != CONTINUED) if (strcmp (entry->name, CONTINUED) != 0)
break; 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