[svn-r8758] Purpose:
h5dump new feature, bug fix Description: added the dump of unmamed types to the file contents fixed a bug in the type array, it was printing invalid characters with the array indices option on Solution: Platforms tested: linux AIX solaris Misc. update:
This commit is contained in:
@@ -925,8 +925,14 @@ h5tools_str_sprint(h5tools_str_t *str, const h5dump_t *info, hid_t container,
|
||||
h5tools_str_append(str, "%s", "\n");
|
||||
|
||||
/*need to indent some more here*/
|
||||
if (ctx->indent_level >= 0)
|
||||
h5tools_str_append(str, "%s", OPT(info->line_pre, ""));
|
||||
if (ctx->indent_level >= 0 )
|
||||
{
|
||||
if (info->pindex)
|
||||
h5tools_str_append(str, "%s", " ");
|
||||
else
|
||||
h5tools_str_append(str, "%s", OPT(info->line_pre, ""));
|
||||
}
|
||||
|
||||
|
||||
for (x = 0; x < ctx->indent_level + 1; x++)
|
||||
h5tools_str_append(str,"%s",OPT(info->line_indent,""));
|
||||
|
||||
Reference in New Issue
Block a user