Bug 759132 - Fix regression in default $status value in case of lists/pipelines
Summary: Fix regression in default $status value in case of lists/pipelines
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: tcsh617
Version: 5.8
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Vojtech Vitek
QA Contact: Branislav Náter
URL:
Whiteboard:
: 735902 (view as bug list)
Depends On: 638955
Blocks: 798457 784510 807971
TreeView+ depends on / blocked
 
Reported: 2011-12-01 13:50 UTC by Vojtech Vitek
Modified: 2018-12-01 18:54 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 638955
: 784510 (view as bug list)
Environment:
Last Closed: 2013-01-08 07:26:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 638955 0 high CLOSED Incorrect value of $status ($?) in case of pipelines 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 658190 0 high CLOSED Incorrect value of $status ($?) in case of pipelines 2021-02-22 00:41:40 UTC
Red Hat Knowledge Base (Legacy) 40784 0 None None None Never
Red Hat Product Errata RHBA-2013:0052 0 normal SHIPPED_LIVE tcsh617 bug fix update 2013-01-07 15:28:00 UTC

Internal Links: 638955 658190

Comment 1 Vojtech Vitek 2011-12-01 14:02:02 UTC
Upstream bug: http://bugs.gw.com/view.php?id=155

Comment 2 Vojtech Vitek 2012-01-25 08:29:40 UTC
*** Bug 735902 has been marked as a duplicate of this bug. ***

Comment 3 Vojtech Vitek 2012-03-25 01:51:57 UTC
We are going to revert the tcsh exit value behaviour to the CSH default (as it used to work in tcsh for many years/decades). There will be $tcsh_posix_status variable available to opt-in the POSIX-like behaviour (as in bash, ksh, etc.).

$ false | true
$ echo $?
1
$ set tcsh_posix_status
$ false | true
$ echo $?
0

Comment 9 errata-xmlrpc 2013-01-08 07:26:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0052.html


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