In Wine 1.1.14 Athena Visual Studio fails to build Fortran applications and returns with an error, doing a git bisect gives this result:<br>----<br>ebe4a9e321800fbe6d2004a640cd276a28d15c38 is first bad commit<br>commit ebe4a9e321800fbe6d2004a640cd276a28d15c38<br>
Author: Dan Kegel &lt;<a href="mailto:dank@kegel.com" target="_blank">dank@kegel.com</a>&gt;<br>
Date:&nbsp;&nbsp; Sun Jan 18 19:19:46 2009 -0800<br><br>&nbsp;&nbsp;&nbsp; msvcrt: Remove CRs earlier in ascii mode.<br><br>:040000 040000 44cfaec7cd552af4c92f220ad34a06d864eff79d 685d15aa69a9e0f91e0d4cbc933191a29837dce9 M&nbsp;&nbsp;&nbsp; dlls<br>----<br><br>

However, removing this patch from the latest git doesn&#39;t do enough - Athena instead hangs indefinitely trying to build.&nbsp; I guessed that it would also be necessary to remove the related patch &quot;msvcrt: Remove CRs earlier in ascii mode in fseek, too.&quot;:<br>
<a href="http://source.winehq.org/git/wine.git/?a=blob;f=dlls/msvcrt/file.c;hb=7f3c70c52fe470d431a51b3363ed4f7336d5f7f5">http://source.winehq.org/git/wine.git/?a=blob;f=dlls/msvcrt/file.c;hb=7f3c70c52fe470d431a51b3363ed4f7336d5f7f5</a><br>
<br>Fortunately, that did the trick and got things working again.&nbsp; I don&#39;t have a lot of free time right now, but if there&#39;s some information I can give that will help in fixing this issue then please let me know and I will do my best to provide it.&nbsp; A 15 day trial of Athena is available, this error can be reproduced by attempting to build any sample in the &quot;Curve Fitting Models&quot; folder.<br>