http://bugs.winehq.org/show_bug.cgi?id=2509
------- Additional Comments From jdaviestx@comcast.net 2004-12-10 09:22 ------- Created an attachment (id=700) --> (http://bugs.winehq.org/attachment.cgi?id=700&action=view) Executable reproducing the problem
Here's an executable that reproduces the problem (obviously, you would only want to run this "safe" in wineconsole). If I run this exe in windows, I see the following output:
C:\masm32>readcon Type a string: abcdef 8
However, under wineconsole, I see the following:
[jdavies@dhcp-347-6 masm]$ wineconsole readcon Type a string: abcdef 7
It looks like windows is returning the length of the string, plus the CRLF delimiters, whereas wineconsole is returning one less. I still can't figure out how to debug into a masm assembler app under wine to figure out if wine is just not translating the linux eol into a 0d0a, or if it's just dropping a character from the count.