summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Object.cpp
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-10-30 19:03:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-10-30 19:03:28 (GMT)
commit8d71b4cbcdc7e184b7fdb110744cd9c7d0c4b508 (patch)
tree1792dd8d02dac6ff1b53ba4152b4cdf171d5d2c8 /c++/src/H5Object.cpp
parent0e06a92d0e1e129c46f27115f2b15ca2995ac59e (diff)
downloadhdf5-8d71b4cbcdc7e184b7fdb110744cd9c7d0c4b508.zip
hdf5-8d71b4cbcdc7e184b7fdb110744cd9c7d0c4b508.tar.gz
hdf5-8d71b4cbcdc7e184b7fdb110744cd9c7d0c4b508.tar.bz2
[svn-r14219] Description:
Change H5Arename2 -> H5Arename_by_name and un-deprecate H5Arename1 back to H5Arename. 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 'c++/src/H5Object.cpp')
-rw-r--r--c++/src/H5Object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5Object.cpp b/c++/src/H5Object.cpp
index 39f21c4..e3dafa7 100644
--- a/c++/src/H5Object.cpp
+++ b/c++/src/H5Object.cpp
@@ -277,9 +277,9 @@ void H5Object::removeAttr( const H5std_string& name ) const
//--------------------------------------------------------------------------
void H5Object::renameAttr(const char* oldname, const char* newname) const
{
- herr_t ret_value = H5Arename2(id, ".", oldname, newname, H5P_DEFAULT);
+ herr_t ret_value = H5Arename(id, oldname, newname);
if (ret_value < 0)
- throw AttributeIException(inMemFunc("renameAttr"), "H5Arename2 failed");
+ throw AttributeIException(inMemFunc("renameAttr"), "H5Arename failed");
}
//--------------------------------------------------------------------------