[Bug 17031] popen not connecting to stdin / stdout correctly
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Jan 19 11:46:47 CST 2009
http://bugs.winehq.org/show_bug.cgi?id=17031
--- Comment #2 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> 2009-01-19 11:46:46 ---
whoops! :)
=>0 0x7ec28785 MSVCRT_fgetc+0x15(file=(nil))
[/mnt/video/src/wine-1.1.13/build32/dlls/msvcrt/../../../dlls/msvcrt/file.c:2301]
in msvcrt (0x0060fc28)
1 0x7ec28990 MSVCRT_fgets+0x60(s=<register ESI not in topmost frame>,
size=<register EDI not in topmost frame>, file=(nil))
[/mnt/video/src/wine-1.1.13/build32/dlls/msvcrt/../../../dlls/msvcrt/file.c:2329]
in msvcrt (0x0060fc68)
2 0x0040135d in a (+0x135d) (0x0060fec8)
3 0x0040124b in a (+0x124b) (0x0060fef8)
4 0x00401298 in a (+0x1298) (0x0060ff08)
5 0x7ee4a338 start_process+0x98(arg=(nil))
[/mnt/video/src/wine-1.1.13/build32/dlls/kernel32/../../../dlls/kernel32/process.c:904]
in kernel32 (0x0060ffe8)
6 0xf7e62b47 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
as i have a patched version of file.c, that's:
int CDECL MSVCRT_fgetc(MSVCRT_FILE* file)
{
unsigned char *i;
unsigned int j;
if (file->_cnt>0) { <---- here
--
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