diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2023-09-01 04:30:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-01 04:30:15 (GMT) |
commit | c33164e2b30ecb98aeef3f7b2e92f11c27faa203 (patch) | |
tree | dfba5eb0d24477f3c0a918a555b8fb67ef4bd1e3 /src/H5F.c | |
parent | 14fd7b2bf9c1cf52aff3b99c70822c463e451154 (diff) | |
download | hdf5-c33164e2b30ecb98aeef3f7b2e92f11c27faa203.zip hdf5-c33164e2b30ecb98aeef3f7b2e92f11c27faa203.tar.gz hdf5-c33164e2b30ecb98aeef3f7b2e92f11c27faa203.tar.bz2 |
[1.10 Merge] Fix assertion failure during file close on error (#3460)
Diffstat (limited to 'src/H5F.c')
-rw-r--r-- | src/H5F.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -616,7 +616,7 @@ H5Freopen(hid_t file_id) done: if (ret_value < 0 && new_file) - if (H5F__dest(new_file, FALSE) < 0) + if (H5F__dest(new_file, FALSE, TRUE) < 0) HDONE_ERROR(H5E_FILE, H5E_CANTCLOSEFILE, H5I_INVALID_HID, "can't close file") FUNC_LEAVE_API(ret_value) |