#1050: [PATCH]CarpetIOHDF5: make WriteLargeAttribute write a string, not an array of ints --------------------------------+------------------------------------------- Reporter: anton@… | Owner: eschnett Type: defect | Status: new Priority: minor | Milestone: Component: Carpet | Version: Resolution: | Keywords: --------------------------------+-------------------------------------------
Comment (by eschnett):
Carpet currently writes an array of characters (not an array of integers), thus the difference between this and a string is small.
The patch does not close the new datatype, leading to a memory leak.
The readers of these attributes, used mostly during recovery, also need to be updated to read strings and not expect arrays of characters.