diff options
author | David Young <dyoung@hdfgroup.org> | 2020-02-13 16:01:05 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-02-13 16:01:05 (GMT) |
commit | 093c2c7e69bc4a40e9d49eece1d6fdcf54e8ecb0 (patch) | |
tree | 67f18d848be99b013c99d315129df81b4046203f /tools/src/h5copy/h5copy.c | |
parent | ddf139aed55ea130eebff56d5385351a01d46508 (diff) | |
download | hdf5-093c2c7e69bc4a40e9d49eece1d6fdcf54e8ecb0.zip hdf5-093c2c7e69bc4a40e9d49eece1d6fdcf54e8ecb0.tar.gz hdf5-093c2c7e69bc4a40e9d49eece1d6fdcf54e8ecb0.tar.bz2 |
Avoid a crash, don't check if we're flushing when the file is closing:
there's no need to check if the metadata cache is flushing if we already
know the file is closing, because the condition we rely on is "closing
OR flushing." Further, the cache may have already gone away, so
sometimes calling into the cache to see if it's flushing will crash the
program.
Diffstat (limited to 'tools/src/h5copy/h5copy.c')
0 files changed, 0 insertions, 0 deletions