Bug 57957 - LANG not initialised properly with gmd selection when using (t)csh
LANG not initialised properly with gmd selection when using (t)csh
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2002-01-03 07:43 EST by Toralf
Modified: 2014-03-16 22:24 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-03-05 02:13:37 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch: Correct setenv syntax in lang.csh (234 bytes, patch)
2002-03-05 02:13 EST, Toralf
no flags Details | Diff

  None (edit)
Description Toralf 2002-01-03 07:43:01 EST
Description of Problem:
Simply put, shoudn't the following section from /etc/profile.d/lang.csh use
"setenv" rather than "set" when assigning to LANG? Surely you want to
update the environment, not just a shell variable?

if ($?GDM_LANG) then
    set sourced=1
    set LANG=$GDM_LANG
Comment 1 Bill Nottingham 2002-01-25 01:49:38 EST
Yup, fixed in 6.51-1, thanks!
Comment 2 Toralf 2002-02-12 07:52:03 EST
Upgraded to initscripts-6.51-1, but it still looks wrong to me.
Comment 3 Bill Nottingham 2002-02-13 00:05:15 EST
Yeah, there was a CVS snafu. Will be changed in the next build, really. :(
Comment 4 Toralf 2002-03-05 02:12:06 EST
It is updated, but still not quite correct. A patch will be attached.
Comment 5 Toralf 2002-03-05 02:13:33 EST
Created attachment 47403 [details]
Patch: Correct setenv syntax in lang.csh
Comment 6 Bill Nottingham 2002-03-05 02:47:15 EST
Um, that fix is already in CVS.
Comment 7 Bill Nottingham 2002-03-05 02:52:37 EST
... and should be in 6.54-1.

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