summaryrefslogtreecommitdiffstats
path: root/src/H5Odbg.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-29 20:14:20 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-29 20:14:20 (GMT)
commitfc57c3b8404e3410dd2b2e09ef3abf78a6fa8b25 (patch)
tree82bc24681bc776e7b184905d7aeba222352d02ac /src/H5Odbg.c
parentce05f32a3d33fad5401b6d1d291676771fc300dd (diff)
downloadhdf5-fc57c3b8404e3410dd2b2e09ef3abf78a6fa8b25.zip
hdf5-fc57c3b8404e3410dd2b2e09ef3abf78a6fa8b25.tar.gz
hdf5-fc57c3b8404e3410dd2b2e09ef3abf78a6fa8b25.tar.bz2
[svn-r12997] Description:
Rename too generic "H5O_FLAG_<foo>" flags that are used as flags for header messages to "H5O_MSG_FLAG_<foo>", in order to make their use clearer. Tested on: FreeBSD/32 4.11 (sleipnir) Linux/32 2.4 (heping) Linux/64 2.4 (mir)
Diffstat (limited to 'src/H5Odbg.c')
-rw-r--r--src/H5Odbg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Odbg.c b/src/H5Odbg.c
index bbc1ce5..348a931 100644
--- a/src/H5Odbg.c
+++ b/src/H5Odbg.c
@@ -374,14 +374,14 @@ H5O_debug_real(H5F_t *f, hid_t dxpl_id, H5O_t *oh, haddr_t addr, FILE *stream, i
oh->mesg[i].dirty);
HDfprintf (stream, "%*s%-*s %s\n", indent+3, "", MAX (0, fwidth-3),
"Shared:",
- (oh->mesg[i].flags & H5O_FLAG_SHARED) ? "Yes" : "No");
+ (oh->mesg[i].flags & H5O_MSG_FLAG_SHARED) ? "Yes" : "No");
HDfprintf(stream, "%*s%-*s %s\n", indent + 3, "", MAX(0, fwidth - 3),
"Constant:",
- (oh->mesg[i].flags & H5O_FLAG_CONSTANT) ? "Yes" : "No");
- if(oh->mesg[i].flags & ~H5O_FLAG_BITS) {
+ (oh->mesg[i].flags & H5O_MSG_FLAG_CONSTANT) ? "Yes" : "No");
+ if(oh->mesg[i].flags & ~H5O_MSG_FLAG_BITS) {
HDfprintf (stream, "%*s%-*s 0x%02x\n", indent+3,"",MAX(0,fwidth-3),
"*** ADDITIONAL UNKNOWN FLAGS --->",
- oh->mesg[i].flags & ~H5O_FLAG_BITS);
+ oh->mesg[i].flags & ~H5O_MSG_FLAG_BITS);
} /* end if */
HDfprintf(stream, "%*s%-*s %Zu bytes\n", indent+3, "", MAX(0,fwidth-3),
"Raw size in obj header:",
@@ -403,7 +403,7 @@ H5O_debug_real(H5F_t *f, hid_t dxpl_id, H5O_t *oh, haddr_t addr, FILE *stream, i
HDfprintf(stream, "*** BAD MESSAGE RAW ADDRESS\n");
/* decode the message */
- if(oh->mesg[i].flags & H5O_FLAG_SHARED) {
+ if(oh->mesg[i].flags & H5O_MSG_FLAG_SHARED) {
decode = H5O_MSG_SHARED->decode;
debug = H5O_MSG_SHARED->debug;
} else {
@@ -424,7 +424,7 @@ H5O_debug_real(H5F_t *f, hid_t dxpl_id, H5O_t *oh, haddr_t addr, FILE *stream, i
HDfprintf(stream, "%*s<No info for this message>\n", indent + 6, "");
/* If the message is shared then also print the pointed-to message */
- if(oh->mesg[i].flags & H5O_FLAG_SHARED) {
+ if(oh->mesg[i].flags & H5O_MSG_FLAG_SHARED) {
H5O_shared_t *shared = (H5O_shared_t*)(oh->mesg[i].native);
void *mesg;