4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-29 10:30:50 +08:00
Corinna Vinschen 34aded1f54 Fix check for empty locale string in newlocale
The original test is broken.  It tests for a NULL locale which
isn't just wrong, it simply can't occur at this point due to an
earlier check for a NULL locale string.  Thus, the locale info
for a category is never taken from the environment.

Fixes Coverty CID 153467.

Also, add comment.

Also, add some parens for readability.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-10-22 20:22:20 +02:00
..
2016-07-04 17:13:55 +01:00
2016-07-04 17:13:55 +01:00
2016-07-04 17:13:55 +01:00
2016-07-04 17:13:55 +01:00
2016-07-04 17:13:55 +01:00
2016-07-04 17:13:55 +01:00
2016-07-04 17:13:55 +01:00
2016-07-04 17:13:55 +01:00
2016-08-31 13:43:19 +02:00
2016-08-08 11:11:48 -05:00
2016-07-04 17:13:55 +01:00
2016-08-23 17:51:14 +02:00
2016-07-04 17:13:55 +01:00
2016-07-04 17:13:55 +01:00
2016-07-04 14:17:10 +01:00
2016-07-04 14:17:10 +01:00
2016-07-04 17:13:55 +01:00