[Commits] [Carpet] branch, master, updated. carpet-6-init-413-g68ba001

Carpet git repositories carpetgit at stellarcollapse.org
Mon Dec 9 15:06:12 CST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Carpet — Adaptive Mesh Refinement for the Cactus Framework <http://carpetcode.org/>".

The branch, master has been updated
       via  68ba0010e053cfb1112732821c2d6731f3dc1645 (commit)
      from  d0a739ecfb8f10d788d02f2c8fc932d39de96d01 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 68ba0010e053cfb1112732821c2d6731f3dc1645
Author: Barry Wardell <barry.wardell at gmail.com>
Date:   Mon Dec 9 13:27:29 2013 -0500

    Include string null terminator in HDF5 attributes
    
    Up to now, the "name" attribute was stored as a string, excluding the null
    terminator. This meant that when the attributed was read back, it could not
    be treated as a standard C string since it was missing the null terminator.
    
    Since strlen returns the length of the string excluding the null terminator,
    we must add one additional space for the null-terminator character when
    creating the attribute.

-----------------------------------------------------------------------

Summary of changes:
 Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc     |    2 +-
 Carpet/CarpetIOHDF5/src/Output.cc           |    2 +-
 Carpet/CarpetIOHDF5/src/util/hdf5_slicer.cc |    7 +++++--
 3 files changed, 7 insertions(+), 4 deletions(-)


hooks/post-receive
--
Carpet — Adaptive Mesh Refinement for the Cactus Framework <http://carpetcode.org/>


More information about the Commits mailing list