[PATCH 1/2] msvcrt/tests: Add tests for _creat.

Lauri Kenttä lauri.kentta at gmail.com
Mon Feb 6 12:37:34 CST 2017


On 2017-02-06 19:54, Piotr Caban wrote:
> On 02/06/17 18:27, Lauri Kenttä wrote:
>> +    int fd, pos, count, readonly, old_fmode = _fmode;
> This will not compile in 64-bit wine. Please use e.g.
> __p__fmode instead of _fmode.
> 
> Thanks,
> Piotr

Thanks. __p__fmode doesn't seem to work on 64-bit either. What a mess.
Resubmitted with _get_fmode/_set_fmode. I'm not sure if those should be
used without GetProcAddress, but at least MinGW has unresolved symbols.
Whatever, at least it's working now on both 32-bit and 64-bit. :)

-- 
Lauri Kenttä



More information about the wine-devel mailing list