summaryrefslogtreecommitdiffstats
path: root/tools/h5dump.c
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-02-28 18:58:16 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-02-28 18:58:16 (GMT)
commite364b3037107a3d8fcb4eb144f354978e4b18b55 (patch)
tree931a93042de3e02e6cee075e5efa35a4c157b044 /tools/h5dump.c
parentacc3ac0da821a987ec76803a0c89f16e9122d9a7 (diff)
downloadhdf5-e364b3037107a3d8fcb4eb144f354978e4b18b55.zip
hdf5-e364b3037107a3d8fcb4eb144f354978e4b18b55.tar.gz
hdf5-e364b3037107a3d8fcb4eb144f354978e4b18b55.tar.bz2
[svn-r1992] added a few definitions for formats in the dump structure
fixed the bug that was crashing for the development version of the dumper
Diffstat (limited to 'tools/h5dump.c')
-rw-r--r--tools/h5dump.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c
index ba97a56..b4a129b 100644
--- a/tools/h5dump.c
+++ b/tools/h5dump.c
@@ -1071,19 +1071,23 @@ dump_data (hid_t obj_id, int obj_data) {
info.cmpd_suf = "}";
info.cmpd_end = "\n";
+ info.fmt_raw = "%02x";
info.fmt_double = "%g";
info.fmt_float = "%g";
info.fmt_schar = "%d";
info.fmt_int = "%d";
info.fmt_uint = "%u";
+ info.fmt_schar = "%d";
info.fmt_uchar = "%u";
info.fmt_short = "%d";
info.fmt_ushort = "%u";
info.fmt_long = "%ld";
info.fmt_ulong = "%lu";
+ info.fmt_llong = NULL;
+ info.fmt_ullong = NULL;
info.str_repeat = 0;
- info.raw = 0;
+ info.raw = 0;
info.ascii = 0;