diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-07-24 23:13:29 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-07-24 23:13:29 (GMT) |
commit | 9a520f67b2e8379e28c22f0c3578a9ce43b4907a (patch) | |
tree | 86cc109ff485f024ec0f34afad9350fe9def2573 /src/H5D.c | |
parent | e143242ce101661a29c5a65f0dd9a4aa37a1af64 (diff) | |
download | hdf5-9a520f67b2e8379e28c22f0c3578a9ce43b4907a.zip hdf5-9a520f67b2e8379e28c22f0c3578a9ce43b4907a.tar.gz hdf5-9a520f67b2e8379e28c22f0c3578a9ce43b4907a.tar.bz2 |
[svn-r14012] Description:
Fix problem with I/O pipeline messages where the version of the format
for a I/O pipeline message could depend on the "use the latest format" flag from
the file after it was initially created.
Tested on:
FreeBSD/32 6.2 (duty)
FreeBSD/64 6.2 (liberty)
Linux/32 2.6 (kagiso)
Mac OS X/32 10.4.10 (amazon)
Solaris/32 2.10 (linew)
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1499,6 +1499,13 @@ H5D_create(H5F_t *file, hid_t type_id, const H5S_t *space, hid_t dcpl_id, /* Get the dataset's external file list information */ if(H5P_get(dc_plist, H5D_CRT_EXT_FILE_LIST_NAME, &new_dset->shared->dcpl_cache.efl) < 0) HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't retrieve external file list") + + /* Set the latest version of the pline & fill messages, if requested */ + if(H5F_USE_LATEST_FORMAT(file)) { + /* Set the latest version for the I/O pipeline message */ + if(H5Z_set_latest_version(pline) < 0) + HGOTO_ERROR(H5E_DATASET, H5E_CANTSET, NULL, "can't set latest version of I/O filter pipeline") + } /* end if */ } /* end if */ /* Check if this dataset is going into a parallel file and set space allocation time */ |