diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-09-29 20:52:08 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-09-29 20:52:08 (GMT) |
commit | 0befe65753b60e85891453dcbca373763a070419 (patch) | |
tree | a3346fca5a6ad59fabfcc2152aa655e002e11245 /c++/test/th5s.cpp | |
parent | 9140500b86f1143e9d0684db553d796271bffc14 (diff) | |
download | hdf5-0befe65753b60e85891453dcbca373763a070419.zip hdf5-0befe65753b60e85891453dcbca373763a070419.tar.gz hdf5-0befe65753b60e85891453dcbca373763a070419.tar.bz2 |
[svn-r25632] Purpose: Fixed HDFFV-8852
Description:
H5F_ACC_CREAT was included in the C++ API while the C library doesn't
allow it yet. Possibly, in the future, but not now. In addition, the
two flags H5F_ACC_RDONLY and H5F_ACC_RDWR were missing from the
documentation, causing confusion that appending is not supported.
Solution:
- Removed H5F_ACC_CREAT from the function until the C library support it
- Added H5F_ACC_RDONLY and H5F_ACC_RDWR to the comments to update the
documentation
Platforms tested:
Linux/ppc64 (ostrich)
Linux/32 2.6 (jam)
SunOS 5.11 (emu)
Diffstat (limited to 'c++/test/th5s.cpp')
-rw-r--r-- | c++/test/th5s.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/test/th5s.cpp b/c++/test/th5s.cpp index cfdeb1f..b7a39b4 100644 --- a/c++/test/th5s.cpp +++ b/c++/test/th5s.cpp @@ -317,7 +317,7 @@ static void test_h5s_scalar_read() SUBTEST("Scalar Dataspace Reading"); try { - // Create file + // Open file H5File fid1(DATAFILE, H5F_ACC_RDWR); // Create a dataset @@ -506,7 +506,7 @@ static void test_h5s_compound_scalar_read() // Output message about test being performed SUBTEST("Compound Dataspace Reading"); try { - // Create file + // Open file H5File fid1(DATAFILE, H5F_ACC_RDWR); // Create a dataset |