[vms/committed]: fix a nit in ivms archives
Tristan Gingold
gingold@adacore.com
Tue Jun 8 14:04:00 GMT 2010
More information about the Binutils mailing list
Tue Jun 8 14:04:00 GMT 2010
- Previous message (by thread): RFA: GOLD: Allow INPUT linker script commands to input libraries
- Next message (by thread): [Patch]: do not allow to read past the end of an archive member
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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) {
- Previous message (by thread): RFA: GOLD: Allow INPUT linker script commands to input libraries
- Next message (by thread): [Patch]: do not allow to read past the end of an archive member
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list