[LOSTWAGES] Add janitorial task to avoid using strncpy
Alexandre Julliard
julliard at winehq.org
Thu Jan 13 11:38:38 CST 2005
Joris Huizer <jorishuizer at planet.nl> writes:
> hmm, well, then what more is needed than s/strncpy\(/lstrcpynA/ and
> s/strncpyW/lstrcpynW and a note for future code .. ?
A careful review of the code to ensure that lstrcpyn semantics are
really what we want. In several cases we know that we are copying less
than the full string, and in that case we have to use memcpy instead,
lstrcpyn won't do the right thing.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list