]> git.sesse.net Git - vlc/commit
posix: handle newlocale() errors
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 7 Jul 2014 17:25:09 +0000 (20:25 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 7 Jul 2014 17:26:46 +0000 (20:26 +0300)
commitd0822ab760020a2ff371a3a99ab3ef29d4271c06
tree80ff6d1e436bb626617109cdb5f413cd4ed19da8
parent983625917722ce7c875f9a1fae275b2890c8e921
posix: handle newlocale() errors

newlocale() will fail if the specified locale is not found. Here, it
can fail if the environment variables refer to an invalid or missing
locale.

Pointed-out-by: Casian Andrei <skeletk13@gmail.com>
src/posix/error.c