public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11869] LANGUAGE not taken into account unless LC_MESSAGES is set to non-POSIX
       [not found] <bug-11869-131@http.sourceware.org/bugzilla/>
@ 2011-05-20 13:18 ` drepper.fsp at gmail dot com
  2011-05-20 16:49 ` vincent+libc at vinc17 dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-05-20 13:18 UTC (permalink / raw)
  To: glibc-bugs

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

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-05-20 13:18:31 UTC ---
This won't change.  People expect forever that by setting LC_ALL to C or POSIX
all internationalization is turned off.  Changing this would break code
unnecessarily.  Just add appropriate settings of LC_ALL or LANG.

-- 
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] 6+ messages in thread

* [Bug libc/11869] LANGUAGE not taken into account unless LC_MESSAGES is set to non-POSIX
       [not found] <bug-11869-131@http.sourceware.org/bugzilla/>
  2011-05-20 13:18 ` [Bug libc/11869] LANGUAGE not taken into account unless LC_MESSAGES is set to non-POSIX drepper.fsp at gmail dot com
@ 2011-05-20 16:49 ` vincent+libc at vinc17 dot org
  2011-05-20 16:51 ` vincent+libc at vinc17 dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: vincent+libc at vinc17 dot org @ 2011-05-20 16:49 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from Vincent Lefèvre <vincent+libc at vinc17 dot org> 2011-05-20 16:48:56 UTC ---
(In reply to comment #1)
> This won't change.  People expect forever that by setting LC_ALL to C or POSIX
> all internationalization is turned off.  Changing this would break code
> unnecessarily.

But I do *not* have LC_ALL set to C or POSIX (the problem was with
LC_MESSAGES). So, this will not break such code.

Or perhaps it should be fixed in some other way. For instance, LC_MESSAGES
should have the precedence over LANGUAGE (always, not just with set to POSIX).

> Just add appropriate settings of LC_ALL or LANG.

Setting LC_ALL is unacceptable as it has the precedence over other LC_*
locales. And LANG is ignored.

-- 
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] 6+ messages in thread

* [Bug libc/11869] LANGUAGE not taken into account unless LC_MESSAGES is set to non-POSIX
       [not found] <bug-11869-131@http.sourceware.org/bugzilla/>
  2011-05-20 13:18 ` [Bug libc/11869] LANGUAGE not taken into account unless LC_MESSAGES is set to non-POSIX drepper.fsp at gmail dot com
  2011-05-20 16:49 ` vincent+libc at vinc17 dot org
@ 2011-05-20 16:51 ` vincent+libc at vinc17 dot org
  2011-05-20 19:01 ` drepper.fsp at gmail dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: vincent+libc at vinc17 dot org @ 2011-05-20 16:51 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #3 from Vincent Lefèvre <vincent+libc at vinc17 dot org> 2011-05-20 16:50:45 UTC ---
And of course, the manual should be fixed (if not already done), as the
description doesn't match the behavior.

-- 
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] 6+ messages in thread

* [Bug libc/11869] LANGUAGE not taken into account unless LC_MESSAGES is set to non-POSIX
       [not found] <bug-11869-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-05-20 16:51 ` vincent+libc at vinc17 dot org
@ 2011-05-20 19:01 ` drepper.fsp at gmail dot com
  2011-07-06  1:36 ` vincent+libc at vinc17 dot org
  2014-06-30 17:26 ` fweimer at redhat dot com
  5 siblings, 0 replies; 6+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-05-20 19:01 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #4 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-05-20 19:01:28 UTC ---
(In reply to comment #2)
> But I do *not* have LC_ALL set to C or POSIX (the problem was with
> LC_MESSAGES). So, this will not break such code.

Of course it will, since the result is the same.  There is no point arguing,
this won't change.

-- 
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] 6+ messages in thread

* [Bug libc/11869] LANGUAGE not taken into account unless LC_MESSAGES is set to non-POSIX
       [not found] <bug-11869-131@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2011-05-20 19:01 ` drepper.fsp at gmail dot com
@ 2011-07-06  1:36 ` vincent+libc at vinc17 dot org
  2014-06-30 17:26 ` fweimer at redhat dot com
  5 siblings, 0 replies; 6+ messages in thread
From: vincent+libc at vinc17 dot org @ 2011-07-06  1:36 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #5 from Vincent Lefèvre <vincent+libc at vinc17 dot org> 2011-07-06 01:35:37 UTC ---
There's still something broken, but this may be how systems (such as Debian)
use LANGUAGE. For instance, the language changes after a ssh:

ypig% locale
LANG=POSIX
LANGUAGE=
LC_CTYPE=en_US.ISO8859-1
LC_NUMERIC="POSIX"
LC_TIME=en_DK
LC_COLLATE=POSIX
LC_MONETARY="POSIX"
LC_MESSAGES=fr_FR
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
ypig% cp
cp: opérande fichier manquant
Saisissez « cp --help » pour plus d'informations.
ypig% ssh localhost locale
Connected to ypig (from ::1)
LANG=POSIX
LANGUAGE=en_US:en
LC_CTYPE=en_US.ISO8859-1
LC_NUMERIC="POSIX"
LC_TIME=en_DK
LC_COLLATE=POSIX
LC_MONETARY="POSIX"
LC_MESSAGES=fr_FR
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
ypig% ssh localhost cp    
Connected to ypig (from ::1)
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] 6+ messages in thread

* [Bug libc/11869] LANGUAGE not taken into account unless LC_MESSAGES is set to non-POSIX
       [not found] <bug-11869-131@http.sourceware.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2011-07-06  1:36 ` vincent+libc at vinc17 dot org
@ 2014-06-30 17:26 ` fweimer at redhat dot com
  5 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-06-30 17:26 UTC (permalink / raw)
  To: glibc-bugs

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

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] 6+ messages in thread

end of thread, other threads:[~2014-06-30 17:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11869-131@http.sourceware.org/bugzilla/>
2011-05-20 13:18 ` [Bug libc/11869] LANGUAGE not taken into account unless LC_MESSAGES is set to non-POSIX drepper.fsp at gmail dot com
2011-05-20 16:49 ` vincent+libc at vinc17 dot org
2011-05-20 16:51 ` vincent+libc at vinc17 dot org
2011-05-20 19:01 ` drepper.fsp at gmail dot com
2011-07-06  1:36 ` vincent+libc at vinc17 dot org
2014-06-30 17:26 ` 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).