diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-06-11 16:04:23 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-06-11 16:04:23 (GMT) |
commit | 2bd041f8787562928ba8a060843cdeeb386bebf0 (patch) | |
tree | b0dd4bec3cae19df2862cae18d549390629fa63e /src/H5VLnative_file.c | |
parent | 48b0ff7724331737140ffae194cb2e741f0b668d (diff) | |
download | hdf5-2bd041f8787562928ba8a060843cdeeb386bebf0.zip hdf5-2bd041f8787562928ba8a060843cdeeb386bebf0.tar.gz hdf5-2bd041f8787562928ba8a060843cdeeb386bebf0.tar.bz2 |
Added H5Fdelete call and VOL support (but no VFD/native implementation).
Diffstat (limited to 'src/H5VLnative_file.c')
-rw-r--r-- | src/H5VLnative_file.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/H5VLnative_file.c b/src/H5VLnative_file.c index 8903911..eeaade6 100644 --- a/src/H5VLnative_file.c +++ b/src/H5VLnative_file.c @@ -386,10 +386,16 @@ H5VL__native_file_specific(void *obj, H5VL_file_specific_t specific_type, /* Call private routine */ if((*ret = H5F__is_hdf5(name, fapl_id)) < 0) - HGOTO_ERROR(H5E_IO, H5E_CANTINIT, FAIL, "error in HDF5 file check") + HGOTO_ERROR(H5E_FILE, H5E_CANTINIT, FAIL, "error in HDF5 file check") break; } + /* H5Fdelete */ + case H5VL_FILE_DELETE: + { + HGOTO_ERROR(H5E_FILE, H5E_UNSUPPORTED, FAIL, "H5Fdelete() is currently not supported in the native VOL connector") + break; + } default: |