From 52fa2f94ca927b2da1478e5cc48d92cd22aca15e Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Thu, 10 Jun 2004 13:47:59 -0500 Subject: [svn-r8645] Purpose: bug fix Description: If compound datatype has variable-length string as field, after it's committed to the file, when it's reopened, the size of the datatype is miscalculated. It makes the data unreadable. Dumper also fails to read data because of this problem. Solution: Change the size of datatype when it's committed to file. Then modify the size again for memory type when it's reopened. Platforms tested: h5committest and RH 8. Misc. update: RELEASE.txt --- release_docs/RELEASE.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 39bb0c5..face0be 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -131,6 +131,8 @@ Bug Fixes since HDF5-1.6.0 release Library ------- + - Fixed failure to read data back from file of compound type with + variable-length string as field. SLU - 2004/06/10 - Fixed potential file corruption bug when a block of metadata could overlap the end of the internal metadata accumulator buffer and the buffer would be extended correctly, but would incorrectly -- cgit v0.12