diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-03-12 02:38:08 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-03-12 02:38:08 (GMT) |
commit | a64589450e5b41dc55b1c6f2e42e837fb0c72bba (patch) | |
tree | 1171b47d4ac3aadeaa87b1df69a95c9ee3054c9d /src/H5Ocache.c | |
parent | e6b818134e24b1d4d99a612218e0a50ffa08bd28 (diff) | |
download | hdf5-a64589450e5b41dc55b1c6f2e42e837fb0c72bba.zip hdf5-a64589450e5b41dc55b1c6f2e42e837fb0c72bba.tar.gz hdf5-a64589450e5b41dc55b1c6f2e42e837fb0c72bba.tar.bz2 |
[svn-r13498] Description:
Eliminate storing # of links in "link info" message, regenerate it
when the object is opened instead.
Tested on:
FreeBSD/32 6.2 (duty)
Mac OS X/32 10.4.8 (amazon)
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 2a76526..774055a 100644 --- a/src/H5Ocache.c +++ b/src/H5Ocache.c @@ -606,6 +606,11 @@ H5O_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void UNUSED * _udata1, oh->has_refcount_msg = TRUE; oh->nlink = *refcount; } /* end if */ + /* Check if next message to examine is a link message */ + else if(H5O_LINK_ID == oh->mesg[curmesg].type->id) { + /* Increment the count of link messages */ + oh->link_msgs_seen++; + } /* end if */ } /* end for */ } /* end while */ |