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?