diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-10-27 01:56:23 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-10-27 01:56:23 (GMT) |
commit | 059db7a4f22613bffacc60b873fa8c276d6a7cbf (patch) | |
tree | a264868a7799851b0d0b65ee75c85b35c0efb43d /src | |
parent | d3958ee85c8cb16d484f5753993f1a9e17d3f720 (diff) | |
download | hdf5-059db7a4f22613bffacc60b873fa8c276d6a7cbf.zip hdf5-059db7a4f22613bffacc60b873fa8c276d6a7cbf.tar.gz hdf5-059db7a4f22613bffacc60b873fa8c276d6a7cbf.tar.bz2 |
[svn-r19672] Description:
Make certain that the SWMR read & write file access flags get passed to
externally linked file.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
FreeBSD/64 6.3 (liberty) 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 (amani) 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
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
Mac OS X/32 10.6.4 (amazon) in debug mode
Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Lexternal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Lexternal.c b/src/H5Lexternal.c index 9cab8cf..9880897 100644 --- a/src/H5Lexternal.c +++ b/src/H5Lexternal.c @@ -310,7 +310,7 @@ H5L_extern_traverse(const char UNUSED *link_name, hid_t cur_group, */ /* Simplify intent flags for open calls */ - intent = ((intent & H5F_ACC_RDWR) ? H5F_ACC_RDWR : H5F_ACC_RDONLY); + intent &= (H5F_ACC_RDWR | H5F_ACC_SWMR_WRITE | H5F_ACC_SWMR_READ); /* Copy the file name to use */ if(NULL == (temp_file_name = H5MM_strdup(file_name))) |