summaryrefslogtreecommitdiffstats
path: root/tools/h5jam/h5jam.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-10-16 14:53:01 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-10-16 14:53:01 (GMT)
commite54b019108172f807a5d4af1915ba0a6cee18a7c (patch)
tree7ac71b52f1ba039eeee151d2b5a9192c7b9162d3 /tools/h5jam/h5jam.c
parentf5b20375943c2f0f27390a94e1a8e1c7de98c404 (diff)
downloadhdf5-e54b019108172f807a5d4af1915ba0a6cee18a7c.zip
hdf5-e54b019108172f807a5d4af1915ba0a6cee18a7c.tar.gz
hdf5-e54b019108172f807a5d4af1915ba0a6cee18a7c.tar.bz2
[svn-r22902] - fix bug in H5is_accessible (check if fapl is default, and convert it to default access plist)
- remove the c++ and fortran interfaces for H5is_hdf5 as it is deprecated - add the c++ and fortran interfaces for H5is_accessible - update all tests to use is_accessible and not is_hdf5
Diffstat (limited to 'tools/h5jam/h5jam.c')
-rw-r--r--tools/h5jam/h5jam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5jam/h5jam.c b/tools/h5jam/h5jam.c
index 52eb0aa..014ff0b 100644
--- a/tools/h5jam/h5jam.c
+++ b/tools/h5jam/h5jam.c
@@ -250,7 +250,7 @@ main (int argc, const char *argv[])
leave (EXIT_FAILURE);
}
- testval = H5Fis_hdf5 (ub_file);
+ testval = H5Fis_accessible (ub_file, H5P_DEFAULT);
if (testval > 0) {
error_msg("-u <user_file> cannot be HDF5 file, but it appears to be an HDF5 file.\n");
@@ -264,7 +264,7 @@ main (int argc, const char *argv[])
leave (EXIT_FAILURE);
}
- testval = H5Fis_hdf5 (input_file);
+ testval = H5Fis_accessible (input_file, H5P_DEFAULT);
if (testval <= 0) {
error_msg("Input HDF5 file \"%s\" is not HDF5 format.\n", input_file);