summaryrefslogtreecommitdiffstats
path: root/src/H5Odbg.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-01-23 15:27:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-01-23 15:27:28 (GMT)
commit4bc8c3f9240a57ecba8e57d5a88af6f58c25c15c (patch)
tree66535ad56982dbd650e8ad4c4eafb1bb7f8d8dc1 /src/H5Odbg.c
parent599d4141fad83b181d11adb17ca645877706308b (diff)
downloadhdf5-4bc8c3f9240a57ecba8e57d5a88af6f58c25c15c.zip
hdf5-4bc8c3f9240a57ecba8e57d5a88af6f58c25c15c.tar.gz
hdf5-4bc8c3f9240a57ecba8e57d5a88af6f58c25c15c.tar.bz2
[svn-r13178] Description:
Figured out a way to phase in individual message class support for the new shared message "interface", so check that in before working on the message classes themselves. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src/H5Odbg.c')
-rw-r--r--src/H5Odbg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Odbg.c b/src/H5Odbg.c
index 7913f20..5682957 100644
--- a/src/H5Odbg.c
+++ b/src/H5Odbg.c
@@ -411,7 +411,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_MSG_FLAG_SHARED) {
+ if((oh->mesg[i].flags & H5O_MSG_FLAG_SHARED) && !H5O_NEW_SHARED(oh->mesg[i].type)) {
decode = H5O_MSG_SHARED->decode;
debug = H5O_MSG_SHARED->debug;
} else {
@@ -432,7 +432,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_MSG_FLAG_SHARED) {
+ if((oh->mesg[i].flags & H5O_MSG_FLAG_SHARED) && !H5O_NEW_SHARED(oh->mesg[i].type)) {
H5O_shared_t *shared = (H5O_shared_t*)(oh->mesg[i].native);
void *mesg;