summaryrefslogtreecommitdiffstats
path: root/src/H5Tconv.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-07-14 16:53:51 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-07-14 16:53:51 (GMT)
commit20a85b0e236a235b5a46fd02b4e96ea0574a1174 (patch)
tree827ed355d62a9ccd1b185c95a95ed7c052b699cc /src/H5Tconv.c
parent320499b91c6c9745db77c6ab5e45f95d08f15239 (diff)
downloadhdf5-20a85b0e236a235b5a46fd02b4e96ea0574a1174.zip
hdf5-20a85b0e236a235b5a46fd02b4e96ea0574a1174.tar.gz
hdf5-20a85b0e236a235b5a46fd02b4e96ea0574a1174.tar.bz2
[svn-r7218] 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.c6
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)