diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-10-30 20:37:39 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-10-30 20:37:39 (GMT) |
commit | f85474466864d1a8b675387b623bebd89bbdc57e (patch) | |
tree | adff43d26b9d543d2921f09409ba81193566a247 /fortran/src | |
parent | 1aa608c06bab83e16dfa677f0c528f2447ce6d65 (diff) | |
download | hdf5-f85474466864d1a8b675387b623bebd89bbdc57e.zip hdf5-f85474466864d1a8b675387b623bebd89bbdc57e.tar.gz hdf5-f85474466864d1a8b675387b623bebd89bbdc57e.tar.bz2 |
[svn-r14222] Description:
Change H5Adelete2 -> H5Adelete_by_name and un-deprecate H5Adelete1 back
to H5Adelete, for better consistency with new other API routiens.
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 'fortran/src')
-rw-r--r-- | fortran/src/H5Af.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fortran/src/H5Af.c b/fortran/src/H5Af.c index cc4f932..73cb5cf 100644 --- a/fortran/src/H5Af.c +++ b/fortran/src/H5Af.c @@ -813,7 +813,7 @@ done: /*---------------------------------------------------------------------------- * Name: h5adelete_c - * Purpose: Call H5Adelete2 to delete an attribute + * Purpose: Call H5Adelete to delete an attribute * Inputs: obj_id - object identifier * name - name of the attribute * namelen - name length @@ -835,9 +835,9 @@ nh5adelete_c (hid_t_f *obj_id, _fcd name, size_t_f *namelen) HGOTO_DONE(FAIL); /* - * Call H5Adelete2 function. + * Call H5Adelete function. */ - if(H5Adelete2((hid_t)*obj_id, ".", c_name, H5P_DEFAULT) < 0) + if(H5Adelete((hid_t)*obj_id, c_name) < 0) HGOTO_DONE(FAIL); done: |