Red Hat Bugzilla – Bug 594536
Extra fork when tcsh processes backquotes
Last modified: 2018-11-14 15:11:12 EST
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):
Steps to Reproduce:
1. Run "echo `pstree -p $$`"
(note that tcsh forks twice)
(note that tcsh only forks once to run pstree)
This has been reported and accepted upstream:
This was not a problem with tcsh-6.13
Created attachment 415541 [details]
This patch assumes that the patch in Bug 531353 has already been applied.