On 4/25/12 3:09 PM, Greg Wooledge wrote: > On Wed, Apr 25, 2012 at 02:54:07PM -0400, Chet Ramey wrote: >> On 4/25/12 2:04 PM, Greg Wooledge wrote: >> >>> Maybe it only works on boxes with a very large "open files" resource >>> limit. Perhaps the hard-coded 255 should be replaced with something >>> involving getrlimit() or similar? >> >> I see two potential fixes here. First, try changing the 255 to -1 and >> see what happens. > > That broke something pretty badly.
OK. Now make the call move_to_high_fd(0, 1, -1) and see if that fixes it. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/