[vlc-devel] [vlc-commits] Replacement for setenv() =?iso-8859-1?q?and=09unsetenv?=()

Rémi Denis-Courmont remi at remlab.net
Sun Feb 13 08:56:27 CET 2011


Le dimanche 13 février 2011 08:31:33 Jean-Baptiste Kempf, vous avez écrit :
> On Sat, Feb 12, 2011 at 11:59:48PM +0200, Rémi Denis-Courmont wrote :
> > VLC never worked properly on that kind of hypothetical OS. gettext needs
> > environment variables for a start.
> 
> I don't see gettext using env on Win32|CE to get LANG

SetLanguage():

    /* We set LC_ALL manually because it is the only way to set
     * the language at runtime under eg. Windows. Beware that this
     * makes the environment unconsistent when libvlc is unloaded and
     * should probably be moved to a safer place like vlc.c. */

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list