diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-23 20:20:11 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-23 20:20:11 +0000 |
| commit | 34d08e870eda48452df40ab1a00e2c4fd7230a07 (patch) | |
| tree | 8c0cb3027f00c8596a5d9ce7010472b38ae5575e /lib/libc | |
| parent | 377da8e86794d748bd62696eaed3d8f2b4071075 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/locale/setrunelocale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/setrunelocale.c b/lib/libc/locale/setrunelocale.c index f2af35946d62..df2db3ced645 100644 --- a/lib/libc/locale/setrunelocale.c +++ b/lib/libc/locale/setrunelocale.c @@ -77,7 +77,7 @@ _xpg4_setrunelocale(encoding) /* * The "C" and "POSIX" locale are always here. */ - if (!strcmp(encoding, "C") || !strcmp(encoding, "POSIX")) { + if (!*encoding || !strcmp(encoding, "C") || !strcmp(encoding, "POSIX")) { _CurrentRuneLocale = &_DefaultRuneLocale; return(0); } |
