[Bug 16948] tmpfile() fails when run from Unix path
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Aug 5 08:38:58 CDT 2010
http://bugs.winehq.org/show_bug.cgi?id=16948
--- Comment #12 from Austin English <austinenglish at gmail.com> 2010-08-05 08:38:56 ---
With the precompiled exe, in wine-1.3.0-167-g65d1c99
putting it in ~/.wine/drive_c gives
austin at laptop:~/.wine/drive_c$ wine a.exe
fixme:msvcrt:MSVCRT__sopen : pmode 0x60fdc8 ignored
filepos: 5
filepos: 0
buffer: �/h�@filepos: 0
and in $HOME, I get a crash:
Backtrace:
=>0 0x6858b4a7 MSVCRT_fwrite+0x27(ptr=0x403000, size=0x0005, nmemb=0x0001,
file=(nil)) [/home/austin/wine-git/dlls/msvcrt/file.c:2564] in msvcrt
(0x0060fe48)
1 0x00401345 main+0x54(argc=0x0001, argv=0x1103a0)
[C:/src/winebug-16948/test.c:7] in a (0x0060fe80)
2 0x00401298 in a (+0x1297) (0x0060fe90)
native msvcrt crashes from $HOME as well, though...however, the drive_c results
are different:
austin at laptop:~/.wine/drive_c$ wine a.exe
filepos: 5
filepos: 0
buffer: hello(filepos: 5
(notice the unreadable characters instead of 'hello').
--
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.
More information about the wine-bugs
mailing list