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>
Showing
Please register or sign in to comment