diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-05-02 06:17:28 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-05-02 06:17:28 (GMT) |
commit | 7d86677dd611adefa12e3229c6494230d4059845 (patch) | |
tree | de2d0e11140c75c7b247b3b2ac76881ec9cfaf95 /c++ | |
parent | 6306c72a0642bb4631e6358ad812f968e56c7a8f (diff) | |
download | hdf5-7d86677dd611adefa12e3229c6494230d4059845.zip hdf5-7d86677dd611adefa12e3229c6494230d4059845.tar.gz hdf5-7d86677dd611adefa12e3229c6494230d4059845.tar.bz2 |
[svn-r26994] Merge of r26986 from trunk.
Removes H5F_ACC_DEBUG and H5FD_DEBUG functionality.
The H5F_ACC_DEBUG symbol remains but has been defined to zero.
Fixes: HDFFV-1074
Tested on:
h5committest
32-bit Linux w/ C++ and Fortran and multi VFD
Diffstat (limited to 'c++')
-rw-r--r-- | c++/src/H5File.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/c++/src/H5File.cpp b/c++/src/H5File.cpp index 9cc51b7..f4f8833 100644 --- a/c++/src/H5File.cpp +++ b/c++/src/H5File.cpp @@ -73,9 +73,6 @@ H5File::H5File() : H5Location(), CommonFG(), id(H5I_INVALID_HID) {} /// exists, and fail, otherwise /// \li \c H5F_ACC_RDWR - Open file for read/write, if it already /// exists, and fail, otherwise -/// \li \c H5F_ACC_DEBUG - print debug information. This flag is -/// used only by HDF5 library developers; it is neither -/// tested nor supported for use in applications. ///\par /// For info on file creation in the case of an already-open file, /// please refer to the \b Special \b case section in the C layer @@ -133,7 +130,7 @@ void H5File::p_get_file(const char* name, unsigned int flags, const FileCreatPro { // These bits only set for creation, so if any of them are set, // create the file. - if( flags & (H5F_ACC_EXCL|H5F_ACC_TRUNC|H5F_ACC_DEBUG)) + if( flags & (H5F_ACC_EXCL|H5F_ACC_TRUNC)) { hid_t create_plist_id = create_plist.getId(); hid_t access_plist_id = access_plist.getId(); |