diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-06 19:09:58 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-06 19:09:58 (GMT) |
commit | 01f102c2d49d6f25a6bbdaeb874e51e764d7df72 (patch) | |
tree | cfa34fe756fabf894746cacaf0c10d775c2fd4f6 | |
parent | b5dfb3116d9d8d8fe0169a1a0b97e6aa5cb1bb11 (diff) | |
download | hdf5-01f102c2d49d6f25a6bbdaeb874e51e764d7df72.zip hdf5-01f102c2d49d6f25a6bbdaeb874e51e764d7df72.tar.gz hdf5-01f102c2d49d6f25a6bbdaeb874e51e764d7df72.tar.bz2 |
[svn-r5547] Purpose:
Bug fix.
Description:
H5Fopen call was using H5P_DEFAULT instead of file access flags
Solution:
Changed H5P_DEFAULT to H5F_ACC_RDONLY
Platforms tested:
IRIX64 6.5 (modi4) w/parallel
-rw-r--r-- | perform/pio_engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perform/pio_engine.c b/perform/pio_engine.c index 27251c3..cbd77e7 100644 --- a/perform/pio_engine.c +++ b/perform/pio_engine.c @@ -1285,7 +1285,7 @@ do_fopen(parameters *param, char *fname, file_descr *fd /*out*/, int flags) if (flags & (PIO_CREATE | PIO_WRITE)) { fd->h5fd = H5Fcreate(fname, H5F_ACC_TRUNC, H5P_DEFAULT, acc_tpl); } else { - fd->h5fd = H5Fopen(fname, H5P_DEFAULT, acc_tpl); + fd->h5fd = H5Fopen(fname, H5F_ACC_RDONLY, acc_tpl); } hrc = H5Pclose(acc_tpl); |