bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AIX and Interix also do early PID recycling.


From: Chet Ramey
Subject: Re: AIX and Interix also do early PID recycling.
Date: Wed, 05 Sep 2012 10:46:13 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0

On 8/28/12 3:21 AM, Roman Rakus wrote:

> The attached patch adds ability to set forced number of remembered
> statuses, easily during configure time, example:
>  ./configure --enable-fixedjsmax=2048
> It will force bash to remember 2048 statuses, independently on childmax value.
> Patch should clearly apply to git master branch.
> Chet, what do you think about it?

I'm going to offer this in a different form for the next bash version.  The
shell variable CHILD_MAX will control the number of exit statuses to
remember, with two constraints: the shell will not allow users to decrease
that below the Posix minimum value, and there will be a maximum value that
can't be exceeded.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]