summaryrefslogtreecommitdiffstats
path: root/test/tunicode.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-07-18 23:12:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-07-18 23:12:28 (GMT)
commita777619a6b556aeb8365f874099c1a1f42ef3466 (patch)
tree50db7be8ab74cef9dcbc9d954c6e6fddd96be0ca /test/tunicode.c
parentde106315771c4c227c4e73d9194494a240b92fd2 (diff)
downloadhdf5-a777619a6b556aeb8365f874099c1a1f42ef3466.zip
hdf5-a777619a6b556aeb8365f874099c1a1f42ef3466.tar.gz
hdf5-a777619a6b556aeb8365f874099c1a1f42ef3466.tar.bz2
[svn-r21121] Description:
Switch from H5P_DATASET_ACCESS_DEFAULT to H5P_DEFAULT for calls to H5Rdereference2(). Tested on: Mac OS X/32 10.6.8 (amazon) w/debug (too minor to require h5committest)
Diffstat (limited to 'test/tunicode.c')
-rw-r--r--test/tunicode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tunicode.c b/test/tunicode.c
index e28c38b..3b949e9 100644
--- a/test/tunicode.c
+++ b/test/tunicode.c
@@ -464,8 +464,8 @@ void test_objnames(hid_t fid, const char* string)
CHECK(ret, FAIL, "H5Dread");
/* Ensure that we can open named datatype using object reference */
- type_id = H5Rdereference2(dset_id, H5P_DATASET_ACCESS_DEFAULT, H5R_OBJECT, &obj_ref);
- CHECK(type_id, FAIL, "H5Rdereference");
+ type_id = H5Rdereference2(dset_id, H5P_DEFAULT, H5R_OBJECT, &obj_ref);
+ CHECK(type_id, FAIL, "H5Rdereference2");
ret = H5Tcommitted(type_id);
VERIFY(ret, 1, "H5Tcommitted");