Bug 669171 - $REMOTEHOST is set empty on the local machine in csh and tcsh
Summary: $REMOTEHOST is set empty on the local machine in csh and tcsh
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: tcsh
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Vojtech Vitek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 669176 688175
TreeView+ depends on / blocked
 
Reported: 2011-01-12 19:45 UTC by Bryan Mason
Modified: 2015-03-04 23:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 669176 (view as bug list)
Environment:
Last Closed: 2011-01-24 16:56:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Proposing patch (510 bytes, patch)
2011-01-12 20:03 UTC, Vojtech Vitek
no flags Details | Diff
Slightly improved version of previous patch (510 bytes, patch)
2011-01-14 11:51 UTC, Vojtech Vitek
no flags Details | Diff
Sligtly improved version of previous patch (708 bytes, patch)
2011-01-14 11:56 UTC, Vojtech Vitek
no flags Details | Diff

Description Bryan Mason 2011-01-12 19:45:30 UTC
Description of problem:

    The $REMOTEHOST environment variable is set to an empty string
    when logging onto a local system in csh and tcsh.  It should be
    left undefined.

Version-Release number of selected component (if applicable):

    tcsh-6.17-10.fc15

How reproducible:

    100%

Steps to Reproduce:

    1. Start tcsh or csh on a local console
    2. Run "echo $REMOTEHOST"
  
Actual results:

    $ echo $REMOTEHOST

    [note blank line]

Expected results:

    $echo $REMOTEHOST
    REMOTEHOST: Undefined variable.

Additional info:

    The expected results occur on a RHEL 5 system, but the actual
    results occur on RHEL 6 and Rawhide.  This could easily be
    considered a regression.

Comment 1 Vojtech Vitek 2011-01-12 20:03:20 UTC
Created attachment 473122 [details]
Proposing patch

Comment 2 Vojtech Vitek 2011-01-14 11:51:30 UTC
Created attachment 473505 [details]
Slightly improved version of previous patch

Comment 3 Vojtech Vitek 2011-01-14 11:56:23 UTC
Created attachment 473506 [details]
Sligtly improved version of previous patch

Comment 4 Vojtech Vitek 2011-01-14 12:03:08 UTC
Patch proposed to upstream: http://bugs.gw.com/view.php?id=112

Comment 5 Vojtech Vitek 2011-01-18 10:41:42 UTC
The patch has been accepted by upstream (6.17.03b).

Comment 6 Vojtech Vitek 2011-01-24 16:56:51 UTC
Fixed in tcsh-6.17-11.fc15.


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