[Bug 9894] New: CRLF and ^Z handling bad in fread, causes xilinx modelsim mxe III startup to fail
http://bugs.winehq.org/show_bug.cgi?id=9894 Summary: CRLF and ^Z handling bad in fread, causes xilinx modelsim mxe III startup to fail Product: Wine Version: 0.9.46. Platform: Other OS/Version: other Status: NEW Keywords: download, patch Severity: enhancement Priority: P2 Component: wine-msvcrt AssignedTo: wine-bugs(a)winehq.org ReportedBy: dank(a)kegel.com In http://www.winehq.org/pipermail/wine-users/2007-September/027833.html and http://www.winehq.org/pipermail/wine-users/2007-October/027855.html a user reports that Xilinx Modelsim MXE III dies on startup with an apparant flexlm problem, but it really turns out to be a bug in our msvcrt's fread's crlf and control-Z handling, and the app starts ok with native msvcrt. There was an earlier patch that tried to solve some of this stuff, http://www.winehq.org/pipermail/wine-devel/2006-August/050055.html but it didn't have a conformance test, and was not correct. Here's a patch that solves the modelsim problem, comes with a conformance test, and is mostly correct. (It doesn't handle CR LF's that span buffers, but that's hard, and this app doesn't happen to require that.) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9894 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs(a)winehq.org |dank(a)kegel.com Status|NEW |ASSIGNED --- Comment #1 from Dan Kegel <dank(a)kegel.com> 2007-10-04 12:52:53 --- Created an attachment (id=8386) --> (http://bugs.winehq.org/attachment.cgi?id=8386) draft patch to solve both crlf and ^Z problems, with test -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9894 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-bugs(a)winehq.org -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9894 --- Comment #2 from Dan Kegel <dank(a)kegel.com> 2007-10-04 22:37:25 --- First part of fix filed, http://www.winehq.org/pipermail/wine-patches/2007-October/044765.html -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9894 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8386 is|0 |1 obsolete| | --- Comment #3 from Dan Kegel <dank(a)kegel.com> 2007-10-05 06:51:59 --- (From update of attachment 8386) First part already committed, second part posted as http://www.winehq.org/pipermail/wine-patches/2007-October/044767.html -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9894 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9894 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Dan Kegel <dank(a)kegel.com> 2007-11-07 10:00:15 --- Second part committed, http://www.winehq.org/pipermail/wine-cvs/2007-October/036795.html Marking fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9894 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Dan Kegel <dank(a)kegel.com> 2008-01-28 05:43:32 --- Closing all RESOLVED FIXED bugs older than four weeks. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org