summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-06-07 19:17:11 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-06-07 19:17:11 (GMT)
commit5479ee3b0ce741ed7bbae5b90b102f51c18f8b99 (patch)
treed702c36f8119a00c6dc4837a435373ce9f1235b9 /src
parentfc3a269042e4c595a3f09dee707de729beef51cb (diff)
downloadhdf5-5479ee3b0ce741ed7bbae5b90b102f51c18f8b99.zip
hdf5-5479ee3b0ce741ed7bbae5b90b102f51c18f8b99.tar.gz
hdf5-5479ee3b0ce741ed7bbae5b90b102f51c18f8b99.tar.bz2
[svn-r20946] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. In my first checkin, I took out the line "H5Z_SZIP->encoder_present = SZ_encoder_enabled()" by
mistake. It caused SZIP test to fail. I'm puting it back now. Tested on jam - simple change.
Diffstat (limited to 'src')
-rw-r--r--src/H5Z.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Z.c b/src/H5Z.c
index c083641..e04124e 100644
--- a/src/H5Z.c
+++ b/src/H5Z.c
@@ -96,6 +96,7 @@ H5Z_init_interface (void)
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register fletcher32 filter")
#endif /* H5_HAVE_FILTER_FLETCHER32 */
#ifdef H5_HAVE_FILTER_SZIP
+ H5Z_SZIP->encoder_present = SZ_encoder_enabled();
if (H5Z_register (H5Z_SZIP)<0)
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register szip filter")
#endif /* H5_HAVE_FILTER_SZIP */