[PATCH] More robust external diff output handling

Dmitry Vasiliev lists at hlabs.spb.ru
Fri Nov 10 09:35:58 GMT 2006


John Arbash Meinel wrote:
> Dmitry Vasiliev wrote:
>> On Mandrake 10.1 with non-C locale settings external diff ignores LANG=C
>> environment variable. I guess such behavior is because of all LC_*
>> variables are also set and so LANG value is overridden. The attached
>> patch fixed it by setting also LC_ALL=C variable so the diff output now
>> should be handled more robustly within non-C environment.
>>
> If this makes it work on your platform, that I'm happy to accept the
> patch. Can anyone else on a non-english platform confirm that this works?

I've tested the patch on Mandrake 10.1 and KUbuntu 6.06

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)
     http://hlabs.spb.ru




More information about the bazaar mailing list