Skip to content

Commit 09a833a

Browse files
committed
Reproduce bug for blosc applied to H5T_VARIABLE
1 parent 8100b18 commit 09a833a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/test_strings.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,7 @@ int main(){
8181
r = H5Pset_chunk(plist, NDIM, chunkshape);
8282
if(r<0) goto failed;
8383

84-
/* FIXME https://github.com/HDFGroup/hdf5/issues/5942
85-
libhdf5 skips blosc_set_local() for H5T_VARIABLE data types, so you
86-
*must* compile by hand cd_values[0:4], which are normally filled in
87-
by blosc_set_local().
88-
*/
89-
unsigned int cd_values[4] = {FILTER_BLOSC_VERSION, BLOSC_VERSION_FORMAT, 1, 0};
90-
r = H5Pset_filter(plist, FILTER_BLOSC, H5Z_FLAG_OPTIONAL, 4, cd_values);
84+
r = H5Pset_filter(plist, FILTER_BLOSC, H5Z_FLAG_OPTIONAL, 0, NULL);
9185
if(r<0) goto failed;
9286

9387
/* Define variable-length (NULL-terminated) UTF-8 string datatype */

0 commit comments

Comments
 (0)