kernel32: Tiny improvement to the GetVolumePathNameW stub (try 4)

John Klehm xixsimplicityxix at gmail.com
Thu Aug 21 17:35:26 CDT 2008


On Thu, Aug 21, 2008 at 4:35 PM, Michael Karcher
<wine at mkarcher.dialup.fu-berlin.de> wrote:
> page, stating that
>  lstrcpyn(dest,"abcdefghi",4)
> puts "abc" into dest.
>

Seems like Wine's version at least always null terminates it, so
"abc\0".  Just so anyone, who like me had to look it up, can see.

http://source.winehq.org/source/dlls/kernel32/string.c#L321

Cheers,
--John



More information about the wine-devel mailing list