kernel32: initialize hole in struct in WaitNamedPipeW to avoid Valgrind warnings, take 2 (resend)

Alexandre Julliard julliard at winehq.org
Mon Jun 23 04:32:22 CDT 2008


"Dan Kegel" <dank at kegel.com> writes:

> Back in February, I tried doing this with a real memset,
> but Alexandre demurred, probably objecting to the slight overhead.
> So here's a version with no overhead unless you
> have the Valgrind development headers installed,
> and is done with Valgrind client notations.

This isn't the right place for this, and pretty much all ioctls have the
same potential problem. You should add a valgrind suppress for the whole
category of such problems.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list