public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug manual/12963] New: message.texi contains incorrect information about LANGUAGE
@ 2011-07-06  1:51 vincent+libc at vinc17 dot org
  2014-06-27 12:57 ` [Bug manual/12963] " fweimer at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: vincent+libc at vinc17 dot org @ 2011-07-06  1:51 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12963

           Summary: message.texi contains incorrect information about
                    LANGUAGE
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: manual
        AssignedTo: roland@gnu.org
        ReportedBy: vincent+libc@vinc17.org


message.texi contains:

The @var{locale} component is computed based on the category used.  Just
like for the @code{setlocale} function here comes the user selection
into the play.  Some environment variables are examined in a fixed order
and the first environment variable set determines the return value of
the lookup process.  In detail, for the category @code{LC_xxx} the
following variables in this order are examined:

@table @code
@item LANGUAGE
@item LC_ALL
@item LC_xxx
@item LANG
@end table

But this is incorrect: LANGUAGE does not always have the precedence over the
other variables, as shown below:

ypig% LANGUAGE=fr_FR LC_ALL=en_US cp
cp: opérande fichier manquant
Saisissez « cp --help » pour plus d'informations.
ypig% LANGUAGE=fr_FR LC_ALL=C cp    
cp: missing file operand
Try `cp --help' for more information.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug manual/12963] message.texi contains incorrect information about LANGUAGE
  2011-07-06  1:51 [Bug manual/12963] New: message.texi contains incorrect information about LANGUAGE vincent+libc at vinc17 dot org
@ 2014-06-27 12:57 ` fweimer at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 12:57 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=12963

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-27 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-06  1:51 [Bug manual/12963] New: message.texi contains incorrect information about LANGUAGE vincent+libc at vinc17 dot org
2014-06-27 12:57 ` [Bug manual/12963] " fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).