[Pkg-zsh-devel] Bug#654225: PATCH: Restore `LC_ALL' when setting `LANG'

Peter Stephenson p.w.stephenson at ntlworld.com
Wed Jan 4 17:30:17 UTC 2012


On 2012-01-03 16:26:44 +0100, Frank Terbeck wrote:
> I think the patch below fixes the issue correctly, by restoring LC_ALL
> from its parameter along the way with all the other LC_* values zsh
> cares about.

Looks plausible, without following through all the implications.

On Wed, 4 Jan 2012 03:16:41 +0100
Vincent Lefevre <vincent at vinc17.net> wrote:
> I don't understand why zsh has anything to do with environment
> variables to detect the charset (if I understood correctly).
> Why not using nl_langinfo(CODESET)?

Intercepting the setting of environment variables is mostly to ensure
setlocale() gets run when necessary.

-- 
Peter Stephenson <p.w.stephenson at ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/





More information about the Pkg-zsh-devel mailing list