[Bug 2509] ReadConsoleA returning wrong length

Wine Bugs wine-bugs at winehq.org
Tue Oct 12 09:22:15 CDT 2004


http://bugs.winehq.org/show_bug.cgi?id=2509





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

-- 
Configure bugmail: http://bugs.winehq.org/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