diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2009-02-12 19:06:37 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2009-02-12 19:06:37 (GMT) |
commit | 02fd491bf01ff4c54980a4f1ad3fd822e6998215 (patch) | |
tree | c27bbaee35bb4072ede8915bf43b1037a924ae55 /src/H5Oattr.c | |
parent | 3c483bd0782a3f9809d782a29a01bd1013f651f4 (diff) | |
download | hdf5-02fd491bf01ff4c54980a4f1ad3fd822e6998215.zip hdf5-02fd491bf01ff4c54980a4f1ad3fd822e6998215.tar.gz hdf5-02fd491bf01ff4c54980a4f1ad3fd822e6998215.tar.bz2 |
[svn-r16477] Purpose: Fix problem with opening an attribute multiple times through multiple
file handles.
Description:
An attribute's "oloc" field which specifies the file it resides in was located
in the attribute's "shared" structure. So when an attribute was opened multiple
times all of the handles for that attribute pointed to the same file id, even if
different file id's were used to open the different handles for the attribute.
The "oloc" has been moved to the top level H5A_t struct.
Tested: jam, smirom (h5committest)
Diffstat (limited to 'src/H5Oattr.c')
-rw-r--r-- | src/H5Oattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oattr.c b/src/H5Oattr.c index b375791..27b9d5e 100644 --- a/src/H5Oattr.c +++ b/src/H5Oattr.c @@ -812,7 +812,7 @@ H5O_attr_debug(H5F_t *f, hid_t dxpl_id, const void *_mesg, FILE * stream, int in mesg->obj_opened); HDfprintf(stream, "%*s%-*s %a\n", indent, "", fwidth, "Object:", - mesg->shared->oloc.addr); + mesg->oloc.addr); /* Check for attribute creation order index on the attribute */ if(mesg->shared->crt_idx != H5O_MAX_CRT_ORDER_IDX) |