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