From 79f314c31a2659ca820a49a843ed1771d98fdecb Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Fri, 2 Nov 2012 17:18:07 +0100 Subject: [PATCH] msvcp71: Ignore prot argument in Fiopen_wchar function. --- dlls/msvcp71/ios.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/msvcp71/ios.c b/dlls/msvcp71/ios.c index c538cf7b1ae..12e217f5899 100644 --- a/dlls/msvcp71/ios.c +++ b/dlls/msvcp71/ios.c @@ -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;