diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-07-14 16:55:31 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-07-14 16:55:31 (GMT) |
commit | 060f36241e45bed51f569370b9b991cf121bf6f3 (patch) | |
tree | 317a95dcfaf7958505c4527c1ab5314781bdc9f9 /src/H5Tconv.c | |
parent | 0bcd59f9b802f52c0134ec1a4547e69f99f19ec0 (diff) | |
download | hdf5-060f36241e45bed51f569370b9b991cf121bf6f3.zip hdf5-060f36241e45bed51f569370b9b991cf121bf6f3.tar.gz hdf5-060f36241e45bed51f569370b9b991cf121bf6f3.tar.bz2 |
[svn-r7219] Purpose:
Bug fix
Description:
H5T_BKG_TEMP was accidentally removed from library code, but is used by
application's datatype conversion routines.
Solution:
Revert removal of H5T_BKG_TEMP.
Platforms tested:
h5committest
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r-- | src/H5Tconv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c index ab4ef71..c9329bd 100644 --- a/src/H5Tconv.c +++ b/src/H5Tconv.c @@ -2240,7 +2240,7 @@ H5T_conv_vlen(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, hsize_t nelmts, } /* Check if we need a temporary buffer for this conversion */ - if(tpath->cdata.need_bkg||H5T_detect_class(dst->parent,H5T_VLEN)) { + if(tpath->cdata.need_bkg || H5T_detect_class(dst->parent,H5T_VLEN)) { /* Set up initial background buffer */ tmp_buf_size=MAX(src_base_size,dst_base_size); if ((tmp_buf=H5FL_BLK_CALLOC(vlen_seq,tmp_buf_size))==NULL) @@ -2276,8 +2276,8 @@ H5T_conv_vlen(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, hsize_t nelmts, /* Check if temporary buffer is large enough, resize if necessary */ /* (Chain off the conversion buffer size) */ - if((tpath->cdata.need_bkg||H5T_detect_class(dst->parent, - H5T_VLEN)) && tmp_buf_size<conv_buf_size) { + if((tpath->cdata.need_bkg || H5T_detect_class(dst->parent, H5T_VLEN)) + && tmp_buf_size<conv_buf_size) { /* Set up initial background buffer */ tmp_buf_size=conv_buf_size; if((tmp_buf=H5FL_BLK_REALLOC(vlen_seq,tmp_buf,tmp_buf_size))==NULL) |