[Bug 9894] New: CRLF and ^Z handling bad in fread, causes xilinx modelsim mxe III startup to fail

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 4 12:51:56 CDT 2007


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 at winehq.org
        ReportedBy: dank at 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.



More information about the wine-bugs mailing list