msvcp71: Ignore prot argument in Fiopen_wchar function.

This commit is contained in:
Piotr Caban 2012-11-02 17:18:07 +01:00 committed by Alexandre Julliard
parent 31ea3f44dd
commit 79f314c31a
1 changed files with 2 additions and 1 deletions

View File

@ -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;