diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-07-24 20:54:03 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-07-24 20:54:03 (GMT) |
commit | 3ab9ea9cedfa8a619ba92da60777ce62750b9fe8 (patch) | |
tree | 6e78bd693a3f6d0d2df45a356b169889972753f3 /src/H5Fint.c | |
parent | 2227f881c7492ecaadbbad44ac5f8f7416cd5b66 (diff) | |
download | hdf5-3ab9ea9cedfa8a619ba92da60777ce62750b9fe8.zip hdf5-3ab9ea9cedfa8a619ba92da60777ce62750b9fe8.tar.gz hdf5-3ab9ea9cedfa8a619ba92da60777ce62750b9fe8.tar.bz2 |
[svn-r25482] - update is_accessible implementation to use fapl and pass it down to H5Fint.c
- move is_HDF5 inside deprecated macros in H5Fpublic.h
- move H5ES_status_t outside of H5VLpublic.h to H5ESpublic.h
- rename public properties in H5VLpublic.h to H5VL_PROP_* to add more scoping
- no need to include private if pkg is included in H5VLnative.c
- rename plist_id to lapl_id in loc_params structs
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r-- | src/H5Fint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c index 00ab3ec..19df411 100644 --- a/src/H5Fint.c +++ b/src/H5Fint.c @@ -632,7 +632,7 @@ done: *------------------------------------------------------------------------- */ htri_t -H5F_is_hdf5(const char *name) +H5F_is_hdf5(const char *name, hid_t fapl_id) { H5FD_t *file = NULL; /* Low-level file struct */ haddr_t sig_addr; /* Addess of hdf5 file signature */ @@ -641,7 +641,7 @@ H5F_is_hdf5(const char *name) FUNC_ENTER_NOAPI_NOINIT /* Open the file at the virtual file layer */ - if(NULL == (file = H5FD_open(name, H5F_ACC_RDONLY, H5P_FILE_ACCESS_DEFAULT, HADDR_UNDEF))) + if(NULL == (file = H5FD_open(name, H5F_ACC_RDONLY, fapl_id, HADDR_UNDEF))) HGOTO_ERROR(H5E_IO, H5E_CANTINIT, FAIL, "unable to open file") /* The file is an hdf5 file if the hdf5 file signature can be found */ |