msvcp71: Ignore prot argument in Fiopen_wchar function.
This commit is contained in:
parent
31ea3f44dd
commit
79f314c31a
|
@ -2587,8 +2587,9 @@ static FILE* _Fiopen_wchar(const wchar_t *name, int mode, int prot)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* msvcp60 - msvcp71 are ignoring prot argument */
|
||||||
f = _wfsopen(name, (mode & OPENMODE_binary) ? str_mode[mode_idx].str_bin
|
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)
|
if(!f)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue