summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-02-27 20:23:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-02-27 20:23:29 (GMT)
commit11c42cd994d49c68728f94261b39726a4b10bb21 (patch)
tree7bbc6651a9c602d6c641c4f3c96244243f467120 /tools
parent3013bf8bfa389b9d21cafa99980e8b88557e33fb (diff)
downloadhdf5-11c42cd994d49c68728f94261b39726a4b10bb21.zip
hdf5-11c42cd994d49c68728f94261b39726a4b10bb21.tar.gz
hdf5-11c42cd994d49c68728f94261b39726a4b10bb21.tar.bz2
[svn-r13422] Description:
Move split between "fixed" and "variable length" portions of superblock to be immediately after the superblock version number. Minor cleanups in h5debug's handling of superblock signature. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.2 (duty)
Diffstat (limited to 'tools')
-rw-r--r--tools/misc/h5debug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/misc/h5debug.c b/tools/misc/h5debug.c
index 6717316..2c79433 100644
--- a/tools/misc/h5debug.c
+++ b/tools/misc/h5debug.c
@@ -57,7 +57,6 @@
#define INDENT 3
#define VCOL 50
-#define SIGLEN H5F_SIGNATURE_LEN /* Size of signature buffer */
/*-------------------------------------------------------------------------
@@ -81,7 +80,7 @@ main(int argc, char *argv[])
hid_t fid, fapl, dxpl;
H5F_t *f;
haddr_t addr = 0, extra = 0, extra2 = 0, extra3 = 0;
- uint8_t sig[SIGLEN];
+ uint8_t sig[H5F_SIGNATURE_LEN];
size_t u;
herr_t status = SUCCEED;