summaryrefslogtreecommitdiffstats
path: root/src/H5HG.c
diff options
context:
space:
mode:
authorSongyu Lu <songyulu@hdfgroup.org>2018-12-06 23:36:34 (GMT)
committerSongyu Lu <songyulu@hdfgroup.org>2018-12-06 23:36:34 (GMT)
commit3e8599591504c95d8a97100b9546174f6132dc97 (patch)
tree5ceb20ec47d948f3af178383cc6d1892522c29b9 /src/H5HG.c
parent19a94503f39dfd1a6b88caf4d76d3f4e9ce6f362 (diff)
downloadhdf5-3e8599591504c95d8a97100b9546174f6132dc97.zip
hdf5-3e8599591504c95d8a97100b9546174f6132dc97.tar.gz
hdf5-3e8599591504c95d8a97100b9546174f6132dc97.tar.bz2
HDFFV-10635: Some minor changes to the test case and the comments in the library.
Diffstat (limited to 'src/H5HG.c')
-rw-r--r--src/H5HG.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5HG.c b/src/H5HG.c
index 63d482e..df1c82d 100644
--- a/src/H5HG.c
+++ b/src/H5HG.c
@@ -786,9 +786,10 @@ H5HG_remove (H5F_t *f, H5HG_t *hobj)
HDassert(hobj->idx < heap->nused);
- /* When the application selects the same location to rewrite the element by using H5Sselect_elements,
+ /* When the application selects the same location to rewrite the VL element by using H5Sselect_elements,
* it can happen that the entry has been removed by first rewrite. Here we simply skip the removal of
- * the entry and let the second rewrite happen. */
+ * the entry and let the second rewrite happen (see HDFFV-10635). In the future, it'd be nice to handle
+ * this situation in H5T_conv_vlen in H5Tconv.c instead of this level (HDFFV-10648). */
if(heap->obj[hobj->idx].nrefs == 0 && heap->obj[hobj->idx].size == 0 && !heap->obj[hobj->idx].begin)
HGOTO_DONE(ret_value)