[LOSTWAGES] Add janitorial task to avoid using strncpy
jorishuizer at planet.nl
Thu Jan 13 11:10:25 CST 2005
Ge van Geldorp wrote:
>>From: Joris Huizer
>>Mike McCormack wrote:
>>>* Add janitorial task to avoid using strncpy
>>Couldn't we just make a sane implementation of strncpy, not
>>adding more '\0' characters than necessary and making sure
>>the last character is an '\0'?
> That sane implementation already exists as lstrcpynA/lstrcpynW in kernel32.
> Ge van Geldorp.
hmm, well, then what more is needed than s/strncpy\(/lstrcpynA/ and
s/strncpyW/lstrcpynW and a note for future code .. ?
More information about the wine-devel