2012-04-17 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Tue, 17 Apr 2012 10:28:19 +0000 (10:28 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 17 Apr 2012 10:28:19 +0000 (10:28 +0000)
commitd22260241bfa41c701365adf714a6cc04c4810d8
treea1b8641325338d4d3a044ce45c6589d34c8f33b7
parent2a1079e885ccac81f0043eec1c2a638d3fdfeed3
2012-04-17  Tristan Gingold  <gingold@adacore.com>

* vms-lib.c (MAX_EKEYLEN): Define.
(MAX_KEYLEN): Fix value.
(vms_write_index): Add comments and fix indentation.
Adjust comparaison.  Add assertions.  Free kbn_blk.
(_bfd_vms_lib_write_archive_contents): Use MAX_EKEYLEN.
Compense MAX_KEYLEN adjustment.
bfd/ChangeLog
bfd/vms-lib.c