]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Fix a logic error in php-gettext's setlocale() check; if setlocale() failed to return...
authorBrion Vibber <brion@pobox.com>
Fri, 16 Oct 2009 18:19:52 +0000 (11:19 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 16 Oct 2009 18:19:52 +0000 (11:19 -0700)
commit21e17e3738a3c026dd8efb6558ae5124cbaf3c61
treec309e503dde84de221069518c51e83b7e96c101b
parent531c0738daab2d5f9b8324b85b45af7131aec0da
Fix a logic error in php-gettext's setlocale() check; if setlocale() failed to return, we fall back to checking LANG environment variable. Now actually works when doing a setlocale *check* instead of a *set*.

Submitting fix upstream, but as the package is currently unmaintained it may not make it in.
extlib/php-gettext/gettext.inc