ws2_32: Only examine lower-order bits in getsockopt/setsockopt
wine.dev at web.de
Thu Aug 20 16:59:18 CDT 2009
On Do, 2009-08-20 at 18:22 +0200, Alexandre Julliard wrote:
> Juan Lang <juan.lang at gmail.com> writes:
> >> There can be several other ways to handle this, it needs test cases to
> >> determine which way Windows is using.
> > Sorry for my lack of imagination: could you suggest at least one
> > other way so I can make sure the tests are representative?
> It may check for just 0xffffffff as a special case, or check for high
> word being 0 or 0xffff and rejecting others, etc. Some values to test
> would be things like 0x1234ffff, 0x12340000, 0xffff0000, etc.
Jeff did a patch in the bug, which check for SOCKET_ERROR, when
was called with 0xffffffff as level:
I'm offline tomorrow, otherwise i woud add more tests to my old patch.
By by ... Detlef
More information about the wine-devel