[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-diffutils] Tr : Confusion between unicode names in diff 2.9.19-
From: |
Paul Eggert |
Subject: |
Re: [bug-diffutils] Tr : Confusion between unicode names in diff 2.9.19-4065 |
Date: |
Tue, 26 Mar 2013 11:43:13 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 |
On 03/26/2013 07:52 AM, Errembault Philippe wrote:
> Hello, I see no reaction to my previous message.
I don't recall the message, sorry.
> About this bug, I just found out that the problem is about collating
> sequences in some locales
My guess is that there's a bug in strcoll on your system.
Diff relies on strcoll of file names; if strcoll is
busted in your locale, diff won't work. One workaround,
as you've discovered, is to switch to a locale where
strcoll works reliably.
To test my theory you could inspect all the calls to
strcoll and make sure the results that they return
are correct for your locale. This will require a debugger
though.