[PATCH] manual: Clarify the documentation of strverscmp [BZ #20524]
Michael Kerrisk
mtk.manpages@gmail.com
Sun Sep 11 15:35:00 GMT 2016
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
More information about the Libc-alpha
mailing list