Bug 9116 - gnome-session sets LC_ALL instead of LC_CTYPE et al.
gnome-session sets LC_ALL instead of LC_CTYPE et al.
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: gnome-core (Show other bugs)
6.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Owen Taylor
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-02-04 06:34 EST by Christian Hechelmann
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-02-04 16:41:41 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Christian Hechelmann 2000-02-04 06:34:11 EST
gnome-session only sets LC_ALL during session startup which overrides *any*
other LC_* variable in any case, thus rendering script, aliases or command
definitions that locally override some LC_* setting for one command
inoperative, e.g. generating an %changelog entry in say vi. Until now it
was sufficient to invoke date like "LC_TIME=C date +'\%a \%b \%d \%Y"'",
now you have to unset LC_ALL first and then still have set LC_TIME to the
desired value.

To say the least, this new behaviour is extremely annoying.

Patch will follow.
Comment 1 Owen Taylor 2000-02-04 16:41:59 EST
Fixed. We should now consistently by only setting LANG everywhere.

Note You need to log in before you can comment on or make changes to this bug.