diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-09-22 15:27:26 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-09-22 15:27:26 (GMT) |
commit | 6d9af583912f6cd35cdac05283740fdccc489cc4 (patch) | |
tree | 9c55a12cac6cdc6e7db890ce9f12e8fbbdd0bd39 /src/H5Odtype.c | |
parent | b20de8612aac8f94916dd7813bec0c398c9bff4f (diff) | |
download | hdf5-6d9af583912f6cd35cdac05283740fdccc489cc4.zip hdf5-6d9af583912f6cd35cdac05283740fdccc489cc4.tar.gz hdf5-6d9af583912f6cd35cdac05283740fdccc489cc4.tar.bz2 |
[svn-r714] Changes since 19980911
----------------------
This checkin is to fix a couple bugs for Jim Reus. Some features are
not fully implemented but it shouldn't break anything.
./config/conclude.in
./test/Makefile.in
`make clean' removes object files from the test directory as
well as a couple more *.h5 temp files.
./config/hpux9.03 [NEW]
New config file for HP/UX 9.03
./src/H5B.c
./src/H5Bprivate.h
./src/H5Fistore.c
./src/H5G.c
./src/H5Gnode.c
./src/H5Gpkg.h
./src/H5Gprivate.h
./src/H5Gstab.c
Not-yet-complete version of object removal.
./src/H5Fistore.c
./src/H5Fprivate.h
Experimental optimizations, disabled by default.
./src/H5Fprivate.h
Default low-level driver was changed to H5F_LOW_SEC instead of
H5F_LOW_STDIO because the sec2 driver is much easier to debug.
./src/H5Fsplit.c
./src/H5G.c
./src/H5Z.c
Changed a couple return statements to HRETURN.
./src/H5Odtype.c
Removed a check for nested compound data types from back when
they weren't implemented that raised an error.
./tools/h5tools.c
Increased temp buffer sizes and added a check for buffer
overflow so we fail an assertion (hopefully). This really
needs to be fixed sometime.
Added support for printing H5T_STRING data types.
Diffstat (limited to 'src/H5Odtype.c')
-rw-r--r-- | src/H5Odtype.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/H5Odtype.c b/src/H5Odtype.c index 1653921..79bf74f 100644 --- a/src/H5Odtype.c +++ b/src/H5Odtype.c @@ -203,10 +203,8 @@ H5O_dtype_decode_helper(const uint8 **pp, H5T_t *dt) "memory allocation failed"); } H5F_addr_undef (&(dt->u.compnd.memb[i].type->ent.header)); - if (H5O_dtype_decode_helper(pp, dt->u.compnd.memb[i].type) < 0 || - H5T_COMPOUND == dt->u.compnd.memb[i].type->type) { - for (j = 0; j <= i; j++) - H5MM_xfree(dt->u.compnd.memb[i].name); + if (H5O_dtype_decode_helper(pp, dt->u.compnd.memb[i].type)<0) { + for (j=0; j<=i; j++) H5MM_xfree(dt->u.compnd.memb[j].name); H5MM_xfree(dt->u.compnd.memb); HRETURN_ERROR(H5E_DATATYPE, H5E_CANTDECODE, FAIL, "can't decode member type"); |