msvcrt: Few failing tests for O_TEXT files

Vitaliy Margolen wine-devel at kievinfo.com
Sat Oct 8 10:12:29 CDT 2005


Saturday, October 8, 2005, 5:53:13 AM, Richard Cohen wrote:
> Vitaliy Margolen wrote:
 >> +  _lseek(tempfd, -1, FILE_END);
>> +  ok(_read(tempfd,btext,LLEN) == 1, "_read expected 0 got '\\n'\n");
> That doesn't look right.

What's not right about it? It moves to the last byte and tries to read it. Which
is '\n' and should not be read. Tested on windows and that's what it does.

Vitaliy








More information about the wine-devel mailing list