mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-25 01:54:17 +08:00
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
This commit is contained in:
parent
110b03026a
commit
93b9cce7ad
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
|
||||
|
@ -1127,7 +1127,7 @@ main (argc, argv)
|
||||
special_file_handling = stdio_h;
|
||||
include_entry = std_include_table;
|
||||
while (include_entry->name != NULL
|
||||
&& (include_entry->name == CONTINUED
|
||||
&& ((strcmp (include_entry->name, CONTINUED) == 0)
|
||||
|| strcmp (inc_filename, include_entry->name) != 0))
|
||||
include_entry++;
|
||||
|
||||
@ -1140,7 +1140,7 @@ main (argc, argv)
|
||||
if (entry->flags)
|
||||
add_symbols (entry->flags, entry->names);
|
||||
entry++;
|
||||
if (entry->name != CONTINUED)
|
||||
if (strcmp (entry->name, CONTINUED) != 0)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user