Skip to content
Snippets Groups Projects
Commit 81f8ff2a9bf2 authored by Shun-ichi GOTO's avatar Shun-ichi GOTO
Browse files

posixfile_nt: '+' should allow read access.

This fixes unexpected I/O error on committing many files
due to cset:8a53b39cd402 (r4902 in crew).
parent a0d37976cd5b
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,7 @@
def __init__(self, name, mode='rb'):
access = 0
if 'r' in mode:
if 'r' in mode or '+' in mode:
access |= win32file.GENERIC_READ
if 'w' in mode or 'a' in mode or '+' in mode:
access |= win32file.GENERIC_WRITE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment