summaryrefslogtreecommitdiffstats
path: root/src/H5Gname.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-08-13 18:15:55 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-08-13 18:15:55 (GMT)
commite42120c308b619e58f412e167f4449fd003f8ca9 (patch)
treef052711815038c7be77792d9b0fad60e69a478e3 /src/H5Gname.c
parent7b8ffecc20ad383627ea2dbfa86aaebdf5f5b76b (diff)
parentaeb145428f5e6bc51742fff031b0cf8cf6fbefbb (diff)
downloadhdf5-e42120c308b619e58f412e167f4449fd003f8ca9.zip
hdf5-e42120c308b619e58f412e167f4449fd003f8ca9.tar.gz
hdf5-e42120c308b619e58f412e167f4449fd003f8ca9.tar.bz2
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'aeb145428f5e6bc51742fff031b0cf8cf6fbefbb': Updated h5trav.c to emit output that doesn't require ddl changes for map support. Fixed Map API CMake option Renamed H5Mdelete_key to H5Mdelete and H5Mset to H5Mput. Added ifdef for intel compilers, __GNUC__ has to be defined for header files which use it to work with intel compilers. This gives a warning for intel compiler about fallthrough, so added a check not to include fallthrough if using intel compilers. Added the map (H5M) API
Diffstat (limited to 'src/H5Gname.c')
-rw-r--r--src/H5Gname.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5Gname.c b/src/H5Gname.c
index 16c1ca7..86a0c2f 100644
--- a/src/H5Gname.c
+++ b/src/H5Gname.c
@@ -816,6 +816,9 @@ H5G_name_replace_cb(void *obj_ptr, hid_t obj_id, void *key)
obj_path = H5T_nameof((H5T_t *)obj_ptr);
break;
+ case H5I_MAP:
+ HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "maps not supported in native VOL connector")
+
case H5I_UNINIT:
case H5I_BADID:
case H5I_FILE:
@@ -1112,6 +1115,9 @@ H5G_name_replace(const H5O_link_t *lnk, H5G_names_op_t op, H5F_t *src_file,
search_datatype = TRUE;
break;
+ case H5O_TYPE_MAP:
+ HGOTO_ERROR(H5E_SYM, H5E_BADTYPE, FAIL, "maps not supported in native VOL connector")
+
case H5O_TYPE_UNKNOWN:
case H5O_TYPE_NTYPES:
/* Search and replace names through datatype IDs */