Joerg-Cyril.Hoehle@t-systems.com schrieb:
Hi,
you guys running Wine64 on 64bit UNIX, please test the patch attached to bug #22146 http://bugs.winehq.org/show_bug.cgi?id=22146
The patch is available from http://bugs.winehq.org/attachment.cgi?id=27027
Test code that you can use for reporting is at: http://bugs.winehq.org/attachment.cgi?id=27028
I'm afraid my patch does not apply cleanly in Wine-1.1.41. You'll likely need to skip, remove or correct the one hunk about TRACE(...data[]...). It's not essential. Actually, I've removed %s formatting from the 64bit trace because I don't know how Wine behaves when given a bad pointer -- TRACE("%s",debugstr(random_location)) could even cause a core dump, couldn't it?
Thank you very much, Jörg Höhle
It seems you missed something in your patch, i get:
gcc -c -I../../../../dlls/winmm/tests -I. -I../../../../include -I../../../include -DWINE_STRICT_PROTOTYPES -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -g -O2 -o mci.o ../../../../dlls/winmm/tests/mci.c ../../../../dlls/winmm/tests/mci.c: In function ‘test_mciParser’: ../../../../dlls/winmm/tests/mci.c:183: warning: format ‘%u’ expects type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ ../../../../dlls/winmm/tests/mci.c:184: warning: format ‘%u’ expects type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ ../../../../dlls/winmm/tests/mci.c:187: warning: statement with no effect ../../../../dlls/winmm/tests/mci.c:193: warning: statement with no effect ../../../../dlls/winmm/tests/mci.c:202: error: ‘MCI_PARMS_UNION’ has no member named ‘caps’ ../../../../dlls/winmm/tests/mci.c:203: error: ‘MCI_PARMS_UNION’ has no member named ‘caps’ ../../../../dlls/winmm/tests/mci.c:206: error: ‘MCI_PARMS_UNION’ has no member named ‘caps’ ../../../../dlls/winmm/tests/mci.c:206: error: ‘MCI_PARMS_UNION’ has no member named ‘caps’ ../../../../dlls/winmm/tests/mci.c:208: error: ‘MCI_PARMS_UNION’ has no member named ‘caps’ ../../../../dlls/winmm/tests/mci.c:209: error: ‘MCI_PARMS_UNION’ has no member named ‘caps’ ../../../../dlls/winmm/tests/mci.c:212: error: ‘MCI_PARMS_UNION’ has no member named ‘caps’ ../../../../dlls/winmm/tests/mci.c:212: error: ‘MCI_PARMS_UNION’ has no member named ‘caps’ ../../../../dlls/winmm/tests/mci.c:214: error: ‘MCI_PARMS_UNION’ has no member named ‘caps’ ../../../../dlls/winmm/tests/mci.c:215: error: ‘MCI_PARMS_UNION’ has no member named ‘caps’ ../../../../dlls/winmm/tests/mci.c:218: error: ‘MCI_PARMS_UNION’ has no member named ‘caps’ ../../../../dlls/winmm/tests/mci.c:218: error: ‘MCI_PARMS_UNION’ has no member named ‘caps’ make: *** [mci.o] Fehler 1