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 /src/H5win32defs.h | |
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 'src/H5win32defs.h')
-rw-r--r-- | src/H5win32defs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h index 0149faa..771b6fc 100644 --- a/src/H5win32defs.h +++ b/src/H5win32defs.h @@ -48,7 +48,8 @@ typedef __int64 h5_stat_size_t; #define HDnanosleep(N, O) Wnanosleep(N, O) #define HDoff_t __int64 /* _O_BINARY must be set in Windows to avoid CR-LF <-> LF EOL - * transformations when performing I/O. + * transformations when performing I/O. Note that this will + * produce Unix-style text files, though. */ #define HDopen(S,F,M) _open(S,F|_O_BINARY,M) #define HDread(F,M,Z) _read(F,M,Z) |