summaryrefslogtreecommitdiffstats
path: root/src/H5O.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-07-20 22:25:51 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-07-20 22:25:51 (GMT)
commita42f3b9ddaca2f2d566f38bebdd419a3c941669a (patch)
tree25a72d07ec797cefb5364ea6baf17818f5ffe1a5 /src/H5O.c
parent7beed66358ff6c3d664526bc6e7b9d5990238331 (diff)
downloadhdf5-a42f3b9ddaca2f2d566f38bebdd419a3c941669a.zip
hdf5-a42f3b9ddaca2f2d566f38bebdd419a3c941669a.tar.gz
hdf5-a42f3b9ddaca2f2d566f38bebdd419a3c941669a.tar.bz2
[svn-r21134] Description:
Bring r21133 from trunk to 1.8 branch: More code cleanups to reduce coupling between packages that use the H5F internal routines, but really aren't part of the H5F "package". Tested on: FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
Diffstat (limited to 'src/H5O.c')
-rw-r--r--src/H5O.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5O.c b/src/H5O.c
index 41b9865..d3fdb3c 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -1121,7 +1121,7 @@ H5O_create(H5F_t *f, hid_t dxpl_id, size_t size_hint, size_t initial_rc,
/* check args */
HDassert(f);
- HDassert(f->intent & H5F_ACC_RDWR);
+ HDassert(H5F_INTENT(f) & H5F_ACC_RDWR);
HDassert(loc);
HDassert(TRUE == H5P_isa_class(ocpl_id, H5P_OBJECT_CREATE));