summaryrefslogtreecommitdiffstats
path: root/src/H5Tconv.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-12-29 19:01:04 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-12-29 19:01:04 (GMT)
commit51984a99264fdee6bef4ec9eaa9bc065ff40c530 (patch)
treed79c277b6a187b719b15041369beec91f578f484 /src/H5Tconv.c
parent92a75f970e7194aa6be067cdf6f11e10a296dc9c (diff)
downloadhdf5-51984a99264fdee6bef4ec9eaa9bc065ff40c530.zip
hdf5-51984a99264fdee6bef4ec9eaa9bc065ff40c530.tar.gz
hdf5-51984a99264fdee6bef4ec9eaa9bc065ff40c530.tar.bz2
[svn-r7988] Purpose:
Bug fixes & code cleanup Description: Back out some of the debugging that was inadvertently checked in recently. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r--src/H5Tconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index 2d043d7..7c7b505 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -2479,12 +2479,12 @@ H5T_conv_vlen(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, hsize_t nelmts,
/* Convert VL sequence */
H5_CHECK_OVERFLOW(seq_len,hssize_t,hsize_t);
-
if (H5T_convert(tpath, tsrc_id, tdst_id, (hsize_t)seq_len, 0, 0, conv_buf, tmp_buf, dxpl_id)<0)
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "datatype conversion failed");
/* Write sequence to destination location */
if((*(dst->u.vlen.write))(dst->u.vlen.f,dxpl_id,d,conv_buf, bg_ptr, (hsize_t)seq_len,(hsize_t)dst_base_size)<0)
+ HGOTO_ERROR(H5E_DATATYPE, H5E_WRITEERROR, FAIL, "can't write VL data");
/* For nested VL case, free leftover heap objects from the deeper level if the length of new data elements is shorted than the old data elements.*/
H5_CHECK_OVERFLOW(bg_seq_len,hsize_t,hssize_t);