mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r7541] Purpose:
Bug fixes and code cleanup Description: Corrected output of array separator when vlen separator was needed. datatypes. Parts of formatting cleanup to greatly reduce the amount of trailing whitespace emitted in output. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
This commit is contained in:
parent
71f0aeff2a
commit
f768247888
@ -852,6 +852,8 @@ h5tools_str_sprint(h5tools_str_t *str, const h5dump_t *info, hid_t container,
|
||||
for (x = 0; x < ctx->indent_level + 1; x++)
|
||||
h5tools_str_append(str,"%s",OPT(info->line_indent,""));
|
||||
} /* end if */
|
||||
else if(i && info->arr_sep)
|
||||
h5tools_str_append(str, " ");
|
||||
|
||||
ctx->indent_level++;
|
||||
|
||||
@ -880,7 +882,7 @@ h5tools_str_sprint(h5tools_str_t *str, const h5dump_t *info, hid_t container,
|
||||
for (i = 0; i < nelmts; i++) {
|
||||
if (i)
|
||||
h5tools_str_append(str, "%s",
|
||||
OPT(info->arr_sep, "," OPTIONAL_LINE_BREAK));
|
||||
OPT(info->vlen_sep, "," OPTIONAL_LINE_BREAK));
|
||||
|
||||
#ifdef LATER
|
||||
/* Need to fix so VL data breaks at correct location on end of line -QAK */
|
||||
|
Loading…
Reference in New Issue
Block a user