diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-06-08 14:04:25 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-06-08 14:04:25 +0000 |
commit | cba3addf0c5906471d44527394c6e5f8594733c1 (patch) | |
tree | 5ee8c12372f087c0ce32ddd8b0253078447bd543 /bfd/vms-lib.c | |
parent | 2bf1d2a44685e2fb7385c362b62b81694bf33f6e (diff) | |
download | fsf-binutils-gdb-cba3addf0c5906471d44527394c6e5f8594733c1.zip fsf-binutils-gdb-cba3addf0c5906471d44527394c6e5f8594733c1.tar.gz fsf-binutils-gdb-cba3addf0c5906471d44527394c6e5f8594733c1.tar.bz2 |
2010-06-08 Tristan Gingold <gingold@adacore.com>
* vms-lib.c (_bfd_vms_lib_write_archive_contents): Increment
for the first block.
Diffstat (limited to 'bfd/vms-lib.c')
-rw-r--r-- | bfd/vms-lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/vms-lib.c b/bfd/vms-lib.c index c959df9..13a4fa8 100644 --- a/bfd/vms-lib.c +++ b/bfd/vms-lib.c @@ -2111,6 +2111,7 @@ _bfd_vms_lib_write_archive_contents (bfd *arch) /* Write the first block (which contains an mhd). */ if (bfd_bwrite (blk, VMS_BLOCK_SIZE, arch) != VMS_BLOCK_SIZE) goto input_err; + off += VMS_BLOCK_SIZE; if (amt == VMS_BLOCK_SIZE - sz) { |