projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
090164c
)
* fix-header.c (main): Do not pass a null pointer to strcmp.
author
Scott Weikart
<scott@igc.apc.org>
Sun, 29 Aug 1999 09:28:09 +0000
(09:28 +0000)
committer
Jeff Law
<law@gcc.gnu.org>
Sun, 29 Aug 1999 09:28:09 +0000
(
03:28
-0600)
From-SVN: r28960
gcc/ChangeLog
patch
|
blob
|
history
gcc/fix-header.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 1b24df4713741043babe81031888a1d3da3132a8..39571af63e64dc9280f0bbf0746f4857b66ffa90 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+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
diff --git
a/gcc/fix-header.c
b/gcc/fix-header.c
index af0577e43c469d13ea2803cf00e771eb6d80268b..1e6c5c47b8a9809625218440d1c7e7aa1eb81da8 100644
(file)
--- a/
gcc/fix-header.c
+++ b/
gcc/fix-header.c
@@
-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;
}
}