From e364b3037107a3d8fcb4eb144f354978e4b18b55 Mon Sep 17 00:00:00 2001 From: Patrick Lu Date: Mon, 28 Feb 2000 13:58:16 -0500 Subject: [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 --- tools/h5dump.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- cgit v0.12