[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
Sat Mar 10 06:41:01 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=29499

--- Comment #32 from Dmitry Timoshkov <dmitry at baikal.ru> 2012-03-10 06:41:01 CST ---
(In reply to comment #31)
> > Just so you know, these two lines are mathematically equivalent:
> > (pfd.revents & POLLERR) || (pfd.revents & POLLHUP)
> > pfd.revents & (POLLERR|POLLHUP)
> 
> I don't think so =) The second one implies that both bits need to be set. The
> first one can detect the bits separately. Did you misread the || as &&?

Alex is right, 2 lines above do the same thing.

-- 
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