Commit 79f314c3 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcp71: Ignore prot argument in Fiopen_wchar function.

parent 31ea3f44
......@@ -2587,8 +2587,9 @@ static FILE* _Fiopen_wchar(const wchar_t *name, int mode, int prot)
return NULL;
}
/* msvcp60 - msvcp71 are ignoring prot argument */
f = _wfsopen(name, (mode & OPENMODE_binary) ? str_mode[mode_idx].str_bin
: str_mode[mode_idx].str, prot);
: str_mode[mode_idx].str, SH_DENYNO);
if(!f)
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment