kernel32 & winelib: Don't test string size in CompareStringW for null terminated strings

Steven Edwards winehacker at
Sat Mar 1 10:12:02 CST 2008

On Sat, Mar 1, 2008 at 10:55 AM, Adam Strzelecki <ono at> wrote:
> > No, we may not have a look!  And we sure as hell can't
>  > post copyrighted Microsoft source code on this mailing list!
>  Argh... I meant you may have a look if you have Visual Studio
>  installed, I don't intend to post any copyrighted code there, but I
>  just post header copyright information from this file to prove that it
>  does exist:)
>  However you can find with Google + "strlen.asm - contains strlen()
>  routine" on M$ forums some ppl that wisely did post full source ;P

Wine kind of work on the honor system here. If you've looked at the
CRT sources even though they come with the PSDK and MSVC please don't
start implementing those functions. Ditto for ATL. MSVC ships with the
source code for it also but the developers that work on the ATL don't
go digging in to those sources.

Steven Edwards

"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo

More information about the wine-devel mailing list