Files
hdf5/hl
Scot Breitenfeld 05737ece7f H5DSget_label_f returned size fixed (#6327)
* fixed assignment of size in the wrapper

* Call H5DSget_label directly from Fortran wrapper

Replace the intermediate C wrapper h5dsget_label_c with a direct
bind(c) call to H5DSget_label from H5DSget_label_f. This eliminates
the malloc/free of a temporary buffer and the associated failure path
where size was incorrectly set when H5DSget_label failed. The Fortran
wrapper now handles the C-to-Fortran string conversion (equivalent to
HD5packFstring) by blank-padding the buffer from the returned label
length to the end.

* Remove unused h5dsget_label_c C wrapper
2026-03-30 15:45:25 -05:00
..