[ET Trac] [Einstein Toolkit] #1050: [PATCH]CarpetIOHDF5: make WriteLargeAttribute write a string, not an array of ints

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Aug 24 10:41:01 CDT 2012


#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.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1050#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list