Joris Huizer jorishuizer@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.