summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-08-26 14:26:33 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-08-26 14:26:33 (GMT)
commit716092826272293d8361d91abd7d78ce1fa4a7b7 (patch)
treeec67d510ce2b464fbfc6ab7708d170c2761d73ef /tools
parentcff2a39a5ef69c6b21ec5fe4285eb1a3ad508d1f (diff)
downloadhdf5-716092826272293d8361d91abd7d78ce1fa4a7b7.zip
hdf5-716092826272293d8361d91abd7d78ce1fa4a7b7.tar.gz
hdf5-716092826272293d8361d91abd7d78ce1fa4a7b7.tar.bz2
[svn-r1605] ./tools/h5ls.c [1.2, 1.3]
Fixed a bug where the `Data:' tag didn't get printed for attributes that have more than five values. ./src/H5O.c [1.2, 1.3] Initialzed the padding area between the end of a message and the end of the space allocated for that message. This hopefully fixes an UMR error found by Quincey and prevents the file from containing unwanted data.
Diffstat (limited to 'tools')
-rw-r--r--tools/h5ls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index 76bcd30..fc2cbec 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -1203,6 +1203,7 @@ list_attr (hid_t obj, const char *attr_name, void UNUSED *op_data)
info.line_cont = " ";
} else {
+ printf(" Data:\n");
info.idx_fmt = "(%s)";
info.line_pre = " %s ";
info.line_cont = " %s ";