[Bug 1759] getc returns 0x000000FF instead of 0xFFFFFFFF (-1) for EOF

Wine Bugs wine-bugs at winehq.com
Wed Oct 8 19:18:24 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1759





------- Additional Comments From jbon at 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.


-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list