Subject: [EMAIL PROTECTED] 
--------

>  From the 20080202 release, in function job_unpost, jobs.c:285
> 
>             if(bck.count++ > sh.lim.child_max)
>                 job_chksave(0);
>             if(jp = jobsave_create(pid))
>             {
>                 jp->next = bck.list;
>                 bck.list = jp;
>                 jp->exitval = 0;
>             }
> 

I think that ++bck.count would make more sense but since this is a linked
list it won't matter.

The standard says that the backround process from the last sh.lim.child_max
processes must be saved by the shell.  The code was saving sh.lim.child_max+1
which is ok but not required.

Thnaks for the report.

David Korn
[EMAIL PROTECTED]
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to