This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] manual: Clarify the documentation of strverscmp [BZ #20524]


On Thu, Sep 8, 2016 at 2:10 PM, Florian Weimer <fweimer@redhat.com> wrote:
> On 08/31/2016 01:56 PM, Florian Weimer wrote:
>
>> Perhaps we should just say the comparison happens in an
>> implementation-defined manner and is only consistent within a single
>> process (just like strcoll).  It would simplify matters and would us
>> allow to fix the algorithm. :)
>
>
> Any further comments?

Not really any from my part, except:

> I was only half-joking.  Maybe we should indeed leave the exact sorting
> order unspecified.

I'm not sure you can get away with that. I mean, there might be
applications out there that depend on the current weird behavior(?).

Cheers,

Michael


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]