This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug manual/12963] New: message.texi contains incorrect information about LANGUAGE


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]