[PATCH 2/7] msvcr90: Added strnlen implementation (try2)

Alexandre Julliard julliard at winehq.org
Tue Mar 23 05:02:18 CDT 2010


Piotr Caban <piotr at codeweavers.com> writes:

> diff --git a/dlls/msvcr80/msvcr80.spec b/dlls/msvcr80/msvcr80.spec
> index ed283d9..cc900ca 100644
> --- a/dlls/msvcr80/msvcr80.spec
> +++ b/dlls/msvcr80/msvcr80.spec
> @@ -1389,7 +1389,7 @@
>  @ cdecl strncmp(str str long) msvcrt.strncmp
>  @ cdecl strncpy(ptr str long) msvcrt.strncpy
>  @ stub strncpy_s
> -@ stub strnlen
> +@ cdecl strnlen(str long) msvcr90.strnlen
>  @ cdecl strpbrk(str str) msvcrt.strpbrk
>  @ cdecl strrchr(str long) msvcrt.strrchr
>  @ cdecl strspn(str str) msvcrt.strspn

This should be added to msvcrt and forwarded to it. Same for the other
functions like strtoi64 that exist in recent msvcrt.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list