[Bug 3613] tmpfile() not working with MinGW application

Wine Bugs wine-bugs at winehq.org
Mon Oct 17 16:33:33 CDT 2005


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


freddiewitherden at hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Different Compilers ==      |tmpfile() not working with
                   |Different Results           |MinGW application




------- Additional Comments From freddiewitherden at hotmail.com  2005-17-10 16:33 -------
After looking into it I found that the tmpfile() call was causing the problem. If I replace FILE *tmpFile = 
tmpfile() with FILE *tmpFile = fopen("temp.file", "wb+"); it worked perfectly. I am still unsure however 
which library is providing the .exe's stdlib, and it would seem that the reason the VC++ version worked is 
because I used the native MSVC80d.dll file rather than the Wine one.

-- 
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