diff options
author | Andy Gibbs <andyg1001@hotmail.co.uk> | 2010-05-05 08:49:18 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-05-05 12:37:13 +0200 |
commit | c1505e73d00ed26b7c250e331b213e63a948b1dd (patch) | |
tree | 343204526f1f778177dd63c68463c2e170939e73 /include | |
parent | e928e223fd44f0002c035773f9c40d8aad78323c (diff) |
Fix gen_wc8bit support for finding a UTF8 locale on host.
gen_wc8bit was previously patched to support UTF8 locales other than the
default en_US.UTF-8 by patch id 0e14b8f425c562749d3821a42414b1ce6b3b0923.
This was incomplete in its implementation and still failed where item(s)
in the list returned by 'locale -a' already had 'UTF8' appended to the
name. This patch rectifies this situation, plus adds an extra fix to
avoid trimming '\n' from an empty line which could cause a segfault.
Signed-off-by: Andy Gibbs <andyg1001@hotmail.co.uk>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions