OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a50a4c
)
2000-06-14 H.J. Lu <hjl@gnu.org>
author
H.J. Lu
<hjl@lucon.org>
Wed, 14 Jun 2000 18:10:10 +0000
(18:10 +0000)
committer
H.J. Lu
<hjl@lucon.org>
Wed, 14 Jun 2000 18:10:10 +0000
(18:10 +0000)
* vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec)
is NULL.
bfd/ChangeLog
patch
|
blob
|
history
bfd/vms-misc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index
21d2530
..
3f22cbd
100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2000-06-14 H.J. Lu <hjl@gnu.org>
+
+ * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec)
+ is NULL.
+
2000-06-13 H.J. Lu <hjl@gnu.org>
* configure: Regenerate.
diff --git
a/bfd/vms-misc.c
b/bfd/vms-misc.c
index
311192c
..
c5893f3
100644
(file)
--- a/
bfd/vms-misc.c
+++ b/
bfd/vms-misc.c
@@
-459,6
+459,9
@@
_bfd_vms_next_record (abfd)
return -1;
}
+ if (!PRIV(vms_rec))
+ return -1;
+
if (PRIV(is_vax))
{
PRIV(rec_type) = *(PRIV(vms_rec));