From 1c2cceabbaf0face7967d2ddb4b5418d311daa31 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 26 Dec 2021 17:15:00 -0500 Subject: [PATCH] [file_hdf5] update to hdf5 >= 1.10.3 --- src/io/file_hdf5.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/io/file_hdf5.c b/src/io/file_hdf5.c index e3d3c5f9..c9d4c5ae 100644 --- a/src/io/file_hdf5.c +++ b/src/io/file_hdf5.c @@ -133,7 +133,8 @@ static herr_t aubio_file_hdf5_iterate(hid_t loc_id, const char *name, H5O_info_t infobuf; const char_t *type_name; uint_t *depth = (uint_t *)opdata; - herr_t err = H5Oget_info_by_name(loc_id, name, &infobuf, H5P_DEFAULT); + herr_t err = H5Oget_info_by_name(loc_id, name, &infobuf, H5O_INFO_BASIC, + H5P_DEFAULT); if (err < 0) goto failure; if (*depth > MAX_DEPTH) goto failure; switch (infobuf.type) { -- 2.11.0