[PATCH] msvcrt: Pass a missing flag to MSVCRT__open.
Piotr Caban
piotr.caban at gmail.com
Mon Feb 6 05:47:38 CST 2017
On 02/04/17 14:15, Lauri Kenttä wrote:
> int CDECL MSVCRT__creat(const char *path, int flags)
> {
> int usedFlags = (flags & MSVCRT__O_TEXT)| MSVCRT__O_CREAT| MSVCRT__O_WRONLY| MSVCRT__O_TRUNC;
> - return MSVCRT__open(path, usedFlags);
> + return MSVCRT__open(path, usedFlags, MSVCRT__S_IWRITE);
> }
According to MSDN the function takes pmode as second argument. Could you
please add some tests for it? It looks like wine's implementation is
handling second argument incorrectly.
Thanks,
Piotr
More information about the wine-devel
mailing list