On 11/3/17 6:01 PM, Adrien Mahieux wrote: > Hello, > > I think I've found a bug in the loop management. Maybe it's an > expected behavior (didn't find any related topic on the manpages) but > it's annoying in long-running scripts. > > The leak is triggered by this idiom (wether or not jobcontrol + lastpipe) : > cmd | read var > > but not by this one : > read var < <(cmd) > > Tested with : > - bash-4.2.46-19.el7.x86_64 > - bash-4.3.42-5.fc23.x86_64 > - bash-4.3-48.x86_64 > > From the version tested, it was fixed in version 4.4 (tested 4.4-beta) > Do you have an idea of the commit that fixed this behavior, so the fix > can be backported to older versions ?
Have you tried bisecting the devel git branch? -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/