diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-03-12 03:00:31 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-03-12 03:00:31 (GMT) |
commit | c227f4ffa55010ea480773d9df9b68baba2b08e0 (patch) | |
tree | b2942cfaf387acd91863967c5d014ee89ee06b39 /src/H5Ocache.c | |
parent | a64589450e5b41dc55b1c6f2e42e837fb0c72bba (diff) | |
download | hdf5-c227f4ffa55010ea480773d9df9b68baba2b08e0.zip hdf5-c227f4ffa55010ea480773d9df9b68baba2b08e0.tar.gz hdf5-c227f4ffa55010ea480773d9df9b68baba2b08e0.tar.bz2 |
[svn-r13499] Description:
Avoid storing the # of attributes in the "attribute info" message
and regenerate it when the object is opened.
Tested on:
FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src/H5Ocache.c')
-rw-r--r-- | src/H5Ocache.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5Ocache.c b/src/H5Ocache.c index 774055a..5259a8e 100644 --- a/src/H5Ocache.c +++ b/src/H5Ocache.c @@ -611,6 +611,11 @@ H5O_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void UNUSED * _udata1, /* Increment the count of link messages */ oh->link_msgs_seen++; } /* end if */ + /* Check if next message to examine is an attribute message */ + else if(H5O_ATTR_ID == oh->mesg[curmesg].type->id) { + /* Increment the count of attribute messages */ + oh->attr_msgs_seen++; + } /* end if */ } /* end for */ } /* end while */ |