[PATCH] More robust external diff output handling

Dmitry Vasiliev lists at hlabs.spb.ru
Thu Nov 9 15:19:10 GMT 2006


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.

Dmitry Vasiliev (dima at hlabs.spb.ru)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.patch
Type: text/x-patch
Size: 3189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061109/872a057b/attachment.bin 

More information about the bazaar mailing list