Bug 9116 - gnome-session sets LC_ALL instead of LC_CTYPE et al.
Summary: gnome-session sets LC_ALL instead of LC_CTYPE et al.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gnome-core
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Owen Taylor
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-02-04 11:34 UTC by Christian Hechelmann
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-02-04 21:41:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Christian Hechelmann 2000-02-04 11:34:11 UTC
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 21:41:59 UTC
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.