Bug #321: dlls/msvct/vf[w]printf functions (Patch 2)

David Laight david at l8s.co.uk
Tue Oct 29 04:56:51 CST 2002


> - there's no point in using strncat if you don't pass it the real size
>   of the buffer

Also be aware that strncpy/strncat are required to zero out the
unfilled part of the buffer.  This is a performance penalty you
don't (normmaly) want.  They also don't guarantee to null terminate
the string.

Some systems have strlcpy/strlcat which DTRT.

	David

-- 
David Laight: david at l8s.co.uk



More information about the wine-devel mailing list