Commits

Bill Wendling committed 82f9e0338ad
[svn-r2984] Purpose: Bug fix Description: The code for determining what a string should print out if it was declared as H5T_STR_NULLTERM (C strings), H5T_STR_SPACEPAD (Fortran strings), or H5T_STR_NULLPAD (print null characters to the end of the line) was mucked. A user had a problem with it and suggested a change, but the change didn't seem to work properly. Also, if the string was H5T_STR_SPACEPAD, it could have stopped when encountering a NULL even if it hadn't gotten to the end of the string. Solution: Reworked the code to make it more understandable what's happening and to add in support for H5T_STR_SPACEPAD which may have been missing before. Platforms tested: Linux