diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-09-13 17:04:36 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-09-13 17:04:36 (GMT) |
commit | 095762a736c3125c0190409b7c3ca01c42605ad7 (patch) | |
tree | 9dea87bb7845bafb44a9df81ef09ce560807d269 /test/objcopy.c | |
parent | 579284f422b6ed25b7a5f4a518c19740fff297c8 (diff) | |
download | hdf5-095762a736c3125c0190409b7c3ca01c42605ad7.zip hdf5-095762a736c3125c0190409b7c3ca01c42605ad7.tar.gz hdf5-095762a736c3125c0190409b7c3ca01c42605ad7.tar.bz2 |
[svn-r14145] Description:
Move H5Gget_objname_by_idx() to deprecated symbols section. Replace
internal usage with H5Lget_name_by_idx().
Tested on:
FreeBSD/32 6.2 (duty)
FreeBSD/64 6.2 (liberty)
Linux/32 2.6 (kagiso)
Linux/64 2.6 (smirom)
AIX/32 5.3 (copper)
Solaris/32 2.10 (linew)
Mac OS X/32 10.4.10 (amazon)
Diffstat (limited to 'test/objcopy.c')
-rwxr-xr-x | test/objcopy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/objcopy.c b/test/objcopy.c index 88ee026..5d2afd2 100755 --- a/test/objcopy.c +++ b/test/objcopy.c @@ -1269,8 +1269,8 @@ compare_groups(hid_t gid, hid_t gid2, hid_t pid, int depth, unsigned copy_flags) /* Loop over contents of groups */ for(idx = 0; idx < ginfo.nlinks; idx++) { /* Check name of objects */ - if(H5Gget_objname_by_idx(gid, idx, objname, (size_t)NAME_BUF_SIZE) < 0) TEST_ERROR - if(H5Gget_objname_by_idx(gid2, idx, objname2, (size_t)NAME_BUF_SIZE) < 0) TEST_ERROR + if(H5Lget_name_by_idx(gid, ".", H5_INDEX_NAME, H5_ITER_INC, idx, objname, (size_t)NAME_BUF_SIZE, H5P_DEFAULT) < 0) TEST_ERROR + if(H5Lget_name_by_idx(gid2, ".", H5_INDEX_NAME, H5_ITER_INC, idx, objname2, (size_t)NAME_BUF_SIZE, H5P_DEFAULT) < 0) TEST_ERROR if(HDstrcmp(objname, objname2)) TEST_ERROR /* Check type of objects */ |