summaryrefslogtreecommitdiffstats
path: root/hl/src
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-02-26 20:39:51 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-02-26 20:39:51 (GMT)
commit2048e0bff92e65442c454d7bd103d15a1a298325 (patch)
tree90e4f2445412d2771b3b1b4bcdd583b6aa3c4bef /hl/src
parent61f0497572303593d5adf96805610448a91efe30 (diff)
downloadhdf5-2048e0bff92e65442c454d7bd103d15a1a298325.zip
hdf5-2048e0bff92e65442c454d7bd103d15a1a298325.tar.gz
hdf5-2048e0bff92e65442c454d7bd103d15a1a298325.tar.bz2
[svn-r26321] Fix for HDFFV-9042.
tested: h5commit
Diffstat (limited to 'hl/src')
-rw-r--r--hl/src/H5PT.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hl/src/H5PT.c b/hl/src/H5PT.c
index 7a0bc20..6ed1ac0 100644
--- a/hl/src/H5PT.c
+++ b/hl/src/H5PT.c
@@ -130,6 +130,9 @@ hid_t H5PTcreate_fl ( hid_t loc_id,
if((table->type_id = H5Tcopy(dtype_id)) < 0)
goto out;
+ if((table->type_id = H5Tget_native_type(table->type_id, H5T_DIR_DEFAULT)) < 0)
+ goto out;
+
H5PT_create_index(table);
table->size = 0;