This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[vms/committed]: fix a nit in ivms archives
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils <binutils at sourceware dot org>
- Date: Tue, 8 Jun 2010 16:04:09 +0200
- Subject: [vms/committed]: fix a nit in ivms archives
Hi,
I am committing this patch to fix a nit: in some cases, members were truncated.
Tristan.
bfd/
2010-06-08 Tristan Gingold <gingold@adacore.com>
* vms-lib.c (_bfd_vms_lib_write_archive_contents): Increment
for the first block.
*** vms-lib.c 8 Jun 2010 08:26:01 -0000 1.10
--- vms-lib.c 8 Jun 2010 14:03:52 -0000
***************
*** 2111,2116 ****
--- 2111,2117 ----
/* 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)
{