This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)
              {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]