diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-12-05 18:38:30 -0500 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-12-05 22:47:25 -0500 |
commit | 97aec57c6f48af8f15dfae92561e3761867ed53b (patch) | |
tree | 457d07ffe331d448219a78b272e307566d2df1c2 /man3/setlocale.3 | |
parent | f43981772532037f6724e583d3beafb33722461d (diff) |
setlocale.3, locale.7: Clean up the description of LANGUAGE environment variable
Clean up the $LANGUAGE description, by removing bogus comments
from setlocale(3) and expanding the mention in locale(7).
Maybe you will decide that a more detailed description should be left
to the gettext(3) documentation, but I actually care about the invisible
part of the patch more since the comments have put me off the track
initially ($LANGUAGE has nothing to do with setlocale(3) and is
completely isolated to gettext, as obvious from the glibc sources).
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/setlocale.3')
-rw-r--r-- | man3/setlocale.3 | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/man3/setlocale.3 b/man3/setlocale.3 index a5d98965..da0ac116 100644 --- a/man3/setlocale.3 +++ b/man3/setlocale.3 @@ -27,7 +27,7 @@ .\" Modified Tue Aug 24 17:11:01 1999 by Andries Brouwer (aeb@cwi.nl) .\" Modified Tue Feb 6 03:31:55 2001 by Andries Brouwer (aeb@cwi.nl) .\" -.TH SETLOCALE 3 1999-07-04 "GNU" "Linux Programmer's Manual" +.TH SETLOCALE 3 2008-12-05 "GNU" "Linux Programmer's Manual" .SH NAME setlocale \- set the current locale .SH SYNOPSIS @@ -88,13 +88,7 @@ is each part of the locale that should be modified is set according to the environment variables. The details are implementation-dependent. -For glibc, first -.\" [This is false on my system - must check which library versions do this] -.\" if -.\" .I category -.\" is LC_MESSAGES, the environment variable LANGUAGE is inspected, -.\" then -(regardless of +For glibc, first (regardless of .IR category ), the environment variable .B LC_ALL @@ -113,8 +107,6 @@ If its value is not a valid locale specification, the locale is unchanged, and .BR setlocale () returns NULL. -.\" The environment variable LANGUAGE may contain several, colon-separated, -.\" locale names. .PP The locale .B """C""" |