diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-10-31 13:13:40 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-10-31 13:13:40 (GMT) |
commit | e15bdb05e6bf52525c1df48f8e8e01aba3ce288b (patch) | |
tree | b6a77169711c84362d7cbb252cb8d288b2656ba6 /tools/h5repack/h5repack_refs.c | |
parent | b969dce6e5625dd9d9f9cc42717a1b2027fdeeb1 (diff) | |
download | hdf5-e15bdb05e6bf52525c1df48f8e8e01aba3ce288b.zip hdf5-e15bdb05e6bf52525c1df48f8e8e01aba3ce288b.tar.gz hdf5-e15bdb05e6bf52525c1df48f8e8e01aba3ce288b.tar.bz2 |
[svn-r14225] Description:
Change H5Oget_info -> H5Oget_info_by_name and re-add H5Oget_info in a
simpler form for querying a particular object, to align with other new API
routines.
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
Diffstat (limited to 'tools/h5repack/h5repack_refs.c')
-rw-r--r-- | tools/h5repack/h5repack_refs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack_refs.c b/tools/h5repack/h5repack_refs.c index 28828b8..64d1990 100644 --- a/tools/h5repack/h5repack_refs.c +++ b/tools/h5repack/h5repack_refs.c @@ -422,7 +422,7 @@ static int copy_refs_attr(hid_t loc_in, int j; unsigned u; - if(H5Oget_info(loc_in, ".", &oinfo, H5P_DEFAULT) < 0) + if(H5Oget_info(loc_in, &oinfo) < 0) goto error; for(u = 0; u < (unsigned)oinfo.num_attrs; u++) { @@ -664,7 +664,7 @@ static const char* MapIdToName(hid_t refobj_id, H5O_info_t ref_oinfo; /* Stat for the refobj id */ /* obtain information to identify the referenced object uniquely */ - if(H5Oget_info(refobj_id, ".", &ref_oinfo, H5P_DEFAULT) < 0) + if(H5Oget_info(refobj_id, &ref_oinfo) < 0) return NULL; if(ref_oinfo.addr == travt->objs[i].objno) |