Description of problem: When tcsh-6.14 performs command substitution within backquotes, an extra fork() is performed. this can cause issues when a command run within the backquotes wants to find the PID of the main tcsh process from which it was fork()ed. Version-Release number of selected component (if applicable): tcsh-6.14-17.el5 How reproducible: 100% Steps to Reproduce: 1. Run "echo `pstree -p $$`" Actual results: tcsh(4343)---tcsh(4344)---pstree(4345) (note that tcsh forks twice) Expected results: tcsh(4346)---pstree(4347) (note that tcsh only forks once to run pstree) Additional info: This has been reported and accepted upstream: http://mx.gw.com/pipermail/tcsh-bugs/2010-May/000679.html This was not a problem with tcsh-6.13
Created attachment 415541 [details] Proposed Patch This patch assumes that the patch in Bug 531353 has already been applied.