diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-01-20 17:17:05 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-01-20 17:17:05 (GMT) |
commit | aac2bb6182878e3591de390173e769bb761c83e2 (patch) | |
tree | 9e8d1da6fbb8016a4e01c2997673447fe8ca4157 /test/gen_bogus.c | |
parent | 1949c40bfddf4bea44345e0cd00baae94597f23a (diff) | |
download | hdf5-aac2bb6182878e3591de390173e769bb761c83e2.zip hdf5-aac2bb6182878e3591de390173e769bb761c83e2.tar.gz hdf5-aac2bb6182878e3591de390173e769bb761c83e2.tar.bz2 |
[svn-r25984] change the message flag H5O_MSG_FLAG_FAIL_IF_UNKNOWN to
H5O_MSG_FLAG_FAIL_IF_UNKNOWN_AND_OPEN_FOR_WRITE. Will add a new
H5O_MSG_FLAG_FAIL_IF_UNKNOWN_ALWAYS with the new avoid_truncate patch
coming later.
tested h5committest
Diffstat (limited to 'test/gen_bogus.c')
-rw-r--r-- | test/gen_bogus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gen_bogus.c b/test/gen_bogus.c index 7d8d073..df1e81f 100644 --- a/test/gen_bogus.c +++ b/test/gen_bogus.c @@ -62,7 +62,7 @@ int main(void) if(H5Dclose(did) < 0) goto error; /* Set "fail if unknown" message flag for bogus message */ - bogus_flags = H5O_MSG_FLAG_FAIL_IF_UNKNOWN; + bogus_flags = H5O_MSG_FLAG_FAIL_IF_UNKNOWN_AND_OPEN_FOR_WRITE; if(H5Pset(dcpl, H5O_BOGUS_MSG_FLAGS_NAME, &bogus_flags) < 0) goto error; /* Create second dataset, with "fail if unknown" message flag */ |