fix locale environment variable logic for empty strings
authorRich Felker <dalias@aerifal.cx>
Thu, 24 Jul 2014 07:02:17 +0000 (03:02 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 24 Jul 2014 07:02:17 +0000 (03:02 -0400)
commit674e28af2deaa3ef2b71af18f7a18af22467d5ef
tree713e03d4430a54fe51be66069efb32b7b2fe9d98
parent871a09c86ff3466196c3bfded84c5bbeb0b07f81
fix locale environment variable logic for empty strings

per POSIX (XBD 8.2) LC_*/LANG environment variables set to to the
empty string are supposed to be treated as if they were not set at
all.
src/locale/__setlocalecat.c