diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2020-07-29 03:21:57 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2020-07-29 11:36:14 -0400 |
commit | 5f79891658708ccdc2ca6b616595a51840c27b07 (patch) | |
tree | 5ec4afca9a3a727925bc5ae9d2482970afcb41d7 /RELEASE-NOTES | |
parent | 2f72ad44fca689d3e0f4574e59e551443c406717 (diff) | |
download | curl-5f79891658708ccdc2ca6b616595a51840c27b07.tar.gz |
tool_cb_wrt: fix outfile mode flags for Windows
- Use S_IREAD and S_IWRITE mode permission flags to create the file
on Windows instead of S_IRUSR, S_IWUSR, etc.
Windows only accepts a combination of S_IREAD and S_IWRITE. It does not
acknowledge other combinations, for which it may generate an assertion.
This is a follow-up to 81b4e99 from yesterday, which improved the
existing file check with -J.
Ref: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/open-wopen#remarks
Ref: https://github.com/curl/curl/pull/5731
Closes https://github.com/curl/curl/pull/5742
Diffstat (limited to 'RELEASE-NOTES')
0 files changed, 0 insertions, 0 deletions