diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-04-28 15:11:29 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-04-28 15:11:29 (GMT) |
commit | d3b664b6a79508d78974a347a9d450e72defb76b (patch) | |
tree | c1d66801ef73f7b1cefbfccbbbe155e9de1b6914 /test/fillval.c | |
parent | c2729b6ad13170d7311848ecba2483515e113825 (diff) | |
download | hdf5-d3b664b6a79508d78974a347a9d450e72defb76b.zip hdf5-d3b664b6a79508d78974a347a9d450e72defb76b.tar.gz hdf5-d3b664b6a79508d78974a347a9d450e72defb76b.tar.bz2 |
Changed the Windows POSIX open() file permissions to be correct
according to MSDN. Partial fix for HDFFV-9630.
Diffstat (limited to 'test/fillval.c')
-rw-r--r-- | test/fillval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fillval.c b/test/fillval.c index ea13de0..8f1f53d 100644 --- a/test/fillval.c +++ b/test/fillval.c @@ -1890,7 +1890,7 @@ test_extend(hid_t fapl, const char *base_name, H5D_layout_t layout) hsize_t nelmts; nelmts = max_size[0]*max_size[1]*max_size[2]*max_size[3]*max_size[4]; - if((fd=HDopen(FILE_NAME_RAW, O_RDWR|O_CREAT|O_TRUNC, 0666)) < 0 || + if((fd=HDopen(FILE_NAME_RAW, O_RDWR|O_CREAT|O_TRUNC, H5_POSIX_OPEN_MODE_0666)) < 0 || HDclose(fd) < 0) goto error; if(H5Pset_external(dcpl, FILE_NAME_RAW, (off_t)0, (hsize_t)nelmts*sizeof(int)) < 0) goto error; |