summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-03 22:06:42 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-03 22:06:42 (GMT)
commite4a60d86caa7a76001dd4e09af246c4c0fad19ea (patch)
tree98f4a575adade88f83e264264faa8804d14bd5a8 /src/H5T.c
parent34050a7d9c9ae16326711cfb69c575bfe75e422e (diff)
downloadhdf5-e4a60d86caa7a76001dd4e09af246c4c0fad19ea.zip
hdf5-e4a60d86caa7a76001dd4e09af246c4c0fad19ea.tar.gz
hdf5-e4a60d86caa7a76001dd4e09af246c4c0fad19ea.tar.bz2
[svn-r22513] fix some committed datatype issues
update get_type routines to construct a VOL datatype if the type is named
Diffstat (limited to 'src/H5T.c')
-rw-r--r--src/H5T.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5T.c b/src/H5T.c
index 30dec9a..b0cb67d 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -3143,7 +3143,7 @@ H5T_copy(const H5T_t *old_dt, H5T_copy_t method)
/* Check if the VOL_obj exists, then this type is the one we want to copy */
//if(NULL != old->vol_obj)
- // old_dt = (H5T_t *)(old->vol_obj);
+ //old_dt = (H5T_t *)(old->vol_obj);
/* Allocate space */
if(NULL == (new_dt = H5FL_MALLOC(H5T_t)))
@@ -3153,7 +3153,7 @@ H5T_copy(const H5T_t *old_dt, H5T_copy_t method)
/* Copy shared information (entry information is copied last) */
*(new_dt->shared) = *(old_dt->shared);
-
+ new_dt->vol_obj = NULL;
/* Check what sort of copy we are making */
switch (method) {
case H5T_COPY_TRANSIENT: