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 /hl | |
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 'hl')
-rw-r--r-- | hl/src/H5TB.c | 4 | ||||
-rw-r--r-- | hl/test/test_ds.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/hl/src/H5TB.c b/hl/src/H5TB.c index a2510ff..23bf569 100644 --- a/hl/src/H5TB.c +++ b/hl/src/H5TB.c @@ -2508,7 +2508,7 @@ herr_t H5TBinsert_field( hid_t loc_id, * Delete 1st table *------------------------------------------------------------------------- */ - if ( H5Gunlink( loc_id, dset_name ) < 0 ) + if ( H5Ldelete( loc_id, dset_name, H5P_DEFAULT ) < 0 ) return -1; /*------------------------------------------------------------------------- @@ -2993,7 +2993,7 @@ herr_t H5TBdelete_field( hid_t loc_id, *------------------------------------------------------------------------- */ - if ( H5Gunlink( loc_id, dset_name ) < 0 ) + if ( H5Ldelete( loc_id, dset_name, H5P_DEFAULT ) < 0 ) return -1; /*------------------------------------------------------------------------- diff --git a/hl/test/test_ds.c b/hl/test/test_ds.c index c4bd1ab..43e9424 100644 --- a/hl/test/test_ds.c +++ b/hl/test/test_ds.c @@ -2233,19 +2233,19 @@ static int test_iterators(void) TESTING2("iterate in deleted scales "); - if (H5Gunlink(fid,"ds_0")<0) + if(H5Ldelete(fid, "ds_0", H5P_DEFAULT) < 0) goto out; /* open the previously written "dset_a" */ - if ((did = H5Dopen(fid,"dset_a"))<0) + if((did = H5Dopen(fid, "dset_a")) < 0) goto out; /* iterate */ - if (H5DSiterate_scales(did,0,NULL,op_bogus,NULL)==SUCCEED) + if(H5DSiterate_scales(did, 0, NULL, op_bogus, NULL) == SUCCEED) goto out; /* close */ - if (H5Dclose(did)<0) + if(H5Dclose(did) < 0) goto out; PASSED(); |