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

Wine Bugs wine-bugs at winehq.org
Tue Oct 18 16:30:29 CDT 2005


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





------- Additional Comments From freddiewitherden at hotmail.com  2005-18-10 16:30 -------
When I ran the program I went to cd .wine/drive_c/My\ Documents and then ran the program. Is the .wine 
folder in need of a bit of 'chmod -R .wine 0777' treatment? When it tries to write to a temp file where is it 
trying to write it to? drive_c or / (unix)? Well since there seem to be problems with tmpfile() (so much for 
ANSI...) I will just use something like FILE *tmpfile = fopen("cryptlite.tmp", "wb+"); and then after I 'fclose
(tmpfile) I will do a remove("cryptlite.tmp");, makes the code look ugly but if I want it to work on Windows 
then I guess that it is something I will need to do.

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