[Bug 29499] Age of Empires II freezes when disconnecting from a multiplayer room/game using native DirectPlay DLL

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Mar 6 11:56:41 CST 2012


--- Comment #26 from Alex Henrie <alexhenrie24 at gmail.com> 2012-03-06 11:56:41 CST ---
Created attachment 39212
  --> http://bugs.winehq.org/attachment.cgi?id=39212
check bad events patch with POLLHUP in events

After much searching, I found the following comment in Chromium's source code:

     * Note that we are relying on a corner case of poll() here.
     * Using POLLHUP in "events" is not meaningful on Linux, which is
     * documented as ignoring POLLHUP as an input argument and will
     * return POLLHUP in "revents" even if it not present in "events".
     * On Mac OS X, however, passing events == 0 does not work if we
     * want to get POLLHUP.  We are in the unusual situation of
     * waiting for a socket to become *un*writable.


I revised Bruno's patch to add POLLERR and POLLHUP to the events parameter.
PommeGolden, would you test this new patch?

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