diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 2000-02-23 17:58:43 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 2000-02-23 17:58:43 (GMT) |
commit | b9bd7a9d64d5fbf722397487992729f843451394 (patch) | |
tree | df3aa5754e9127577e7bcbf506ec41f14acec553 /tools/h5ls.c | |
parent | 4972a63a8ef705d51637a079385ffafb40e578b9 (diff) | |
download | hdf5-b9bd7a9d64d5fbf722397487992729f843451394.zip hdf5-b9bd7a9d64d5fbf722397487992729f843451394.tar.gz hdf5-b9bd7a9d64d5fbf722397487992729f843451394.tar.bz2 |
[svn-r1986] entered a value for the info.line_indent value and moved some of the other definitions out of the
conditionals. fixed the bug for the SDScompound.h5
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r-- | tools/h5ls.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c index b5b4dfe..c17b84c 100644 --- a/tools/h5ls.c +++ b/tools/h5ls.c @@ -1132,16 +1132,6 @@ dump_dataset_values(hid_t dset) info.cmpd_suf = ""; info.cmpd_sep = " "; - info.dset_format = "DSET-%lu:%lu:%lu:%lu-"; - info.dset_hidefileno = 0; - - info.obj_format = "-%lu:%lu:%lu:%lu"; - info.obj_hidefileno = 0; - - info.dset_blockformat_pre = "%sBlk%lu: "; - info.dset_ptformat_pre = "%sPt%lu: "; - - if (label_g) info.cmpd_name = "%s="; info.elmt_suf1 = " "; @@ -1156,6 +1146,17 @@ dump_dataset_values(hid_t dset) info.line_cont = " %s "; info.str_repeat = 8; } + + info.dset_format = "DSET-%lu:%lu:%lu:%lu-"; + info.dset_hidefileno = 0; + + info.obj_format = "-%lu:%lu:%lu:%lu"; + info.obj_hidefileno = 0; + + info.dset_blockformat_pre = "%sBlk%lu: "; + info.dset_ptformat_pre = "%sPt%lu: "; + + info.line_indent = ""; if (hexdump_g) { /* |