diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-29 20:44:19 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-29 20:44:19 (GMT) |
commit | db3c155bf296fa06ab0df56bb7307f2ba19613e5 (patch) | |
tree | 722dbba200b5baf9b45de8187ea3af0d0f7f48ca /tools/lib | |
parent | a4c8e8fd5636e6059beb2031cb98af3dc1617dd3 (diff) | |
download | hdf5-db3c155bf296fa06ab0df56bb7307f2ba19613e5.zip hdf5-db3c155bf296fa06ab0df56bb7307f2ba19613e5.tar.gz hdf5-db3c155bf296fa06ab0df56bb7307f2ba19613e5.tar.bz2 |
[svn-r14126] Description:
Move H5Gunlink to deprecated symbol section, replacing internal calls
with H5Ldelete.
Tested on:
FreeBSD/32 6.2 (duty)
FreeBSD/64 6.2 (liberty)
Linux/32 2.6 (kagiso)
Linux/64 2.6 (smirom)
Solaris/32 5.10 (linew)
Mac OS X/32 10.4.10 (amazon)
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/talign.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/talign.c b/tools/lib/talign.c index 21613df..b0dbbe9 100644 --- a/tools/lib/talign.c +++ b/tools/lib/talign.c @@ -63,12 +63,12 @@ int main(void) fil = H5Fcreate(fname, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); if (fil < 0) { - puts("*FAILED*"); - return 1; + puts("*FAILED*"); + return 1; } H5E_BEGIN_TRY { - H5Gunlink(fil, setname); + H5Ldelete(fil, setname, H5P_DEFAULT); } H5E_END_TRY; cs6 = H5Tcopy(H5T_C_S1); |