[Bug 17195] NamedPipe datagrams need to be _really_ datagrams
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Feb 5 15:30:16 CST 2009
http://bugs.winehq.org/show_bug.cgi?id=17195
--- Comment #13 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> 2009-02-05 15:30:16 ---
hiya juan,
msrpc.exe exits with a code of 1 in all instances of failure, and 0 on success,
so that it can be run from automated shell scripts.
the _very_ first clue is this:
"SetNamedPipeHandleState failed"
if you look at the current implementation of SetNamedPipeHandleState, it's
this:
BOOL WINAPI SetNamedPipeHandleState(
HANDLE hNamedPipe, LPDWORD lpMode, LPDWORD lpMaxCollectionCount,
LPDWORD lpCollectDataTimeout)
{
return FALSE; /* FIXME */
}
so at almost the _very_ first hurdle, the current code in wine is wrong :)
the return result from this function must be TRUE not FALSE.
if you modify just that one line, then you will get wine to at least pass
"test1". from there-on, all the other tests are guaranteed to fail.
--
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