[Top][All Lists]
[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: |
Fri, 27 Jul 2012 10:54:53 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 |
On 7/26/12 5:37 PM, Michael Haubenwallner wrote:
>
> On 07/26/12 20:29, Chet Ramey wrote:
>> OK, we have some data, we have a hypothesis, and we have a way to test it.
>> Let's test it.
>>
>> Michael, please apply the attached patch, disable RECYCLES_PIDS, and run
>> your tests again. This makes the check for previously-saved exit statuses
>> unconditional.
>>
>> Let's see if this is the one change of significance.
>
> Nope, doesn't fix the problem, even if it might be necessary though
> to not mix up stored exitstates.
>
> Somehow this is related to last_made_pid being preserved across childs
> created for { $() } or { `` }.
I'll take a look at your test script. Keep in mind that last_made_pid is
supposed to retain its value across command substitutions. It's used to
decide whether or not to wait for a command. Command substitutions are
not commands in that sense.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/
- Re: AIX and Interix also do early PID recycling., (continued)
- Re: AIX and Interix also do early PID recycling., Andreas Schwab, 2012/07/25
- Re: AIX and Interix also do early PID recycling., Chet Ramey, 2012/07/25
- Re: AIX and Interix also do early PID recycling., Chet Ramey, 2012/07/26
- Re: AIX and Interix also do early PID recycling., Michael Haubenwallner, 2012/07/26
- Re: AIX and Interix also do early PID recycling., Michael Haubenwallner, 2012/07/27
- Re: AIX and Interix also do early PID recycling., Chet Ramey, 2012/07/28
- Re: AIX and Interix also do early PID recycling.,
Chet Ramey <=
- Re: AIX and Interix also do early PID recycling., Chet Ramey, 2012/07/27