msvcrt: Add implementation of _strncoll

Vitaly Perov vitperov at etersoft.ru
Wed Nov 17 08:14:00 CST 2010


On Monday 15 November 2010 17:16:32 Piotr Caban wrote:
> On 11/15/10 14:53, Vitaly Perov wrote:
> >> This function should be implemented without memory allocations.
> >
> > Why? I don't think it is possible to implement it without any memory
> > allocations.
>
> I mean without copying the strings.
>
> Using strcoll doesn't make much sense (here and in MSVCRT_strcoll
> implementation). If a broken/partial implementation is needed by an
> application using strncmp should be ok.
Do you suggest implementing a stub, which just call linux strcoll()?

You are right, an application perfectly works with just stub.

But I think it is not too hard to implement strncoll comletely.

Could you look at my new patch in wine-patches, please?

-- 
Best regards,
Vitaly Perov



More information about the wine-devel mailing list