http://bugs.winehq.com/show_bug.cgi?id=1759
------- Additional Comments From jbon@cfl.rr.com 2003-08-10 19:18 ------- Just a few more details that may be helpful:
The file was opened like this
myfile = fopen("myfile.txt", "r");
The file being read is a DOS formatted text file with CR-LF newlines. The last two characters in the file are "\r\n".
Since this is running in a Win32 environment and it is not in binary mode, I thought perhaps this could be a factor.