On Wed, 2011-06-22 at 02:40 +0400, Dmitry V. Levin wrote:
> On Tue, Jun 21, 2011 at 08:26:07PM +0200, Denys Vlasenko wrote:
> > Hi,
> > 
> > Sometime ago expand_tcbtab/alloc_tcb were modified
> > so that they never return failure (they will abort instead).
> > 
> > This opens up a possibility for further simplifications.
> > 
> > This patch gets rid of fork_tcb() function. It used to do
> > what the comment above it says, but now it doesn't do much:
> > it only sets tcp->flags |= TCB_FOLLOWFORK and maybe calls
> > expand_tcbtab(). The second operation is not necessary, since
> > alloc_tcp will do it itself when needed.
> > 
> > This patch deletes fork_tcb, open-coding tcp->flags |= TCB_FOLLOWFORK
> > where it was formerly called. It also makes nprocs and tcbtabsize
> > variables static. (While at it, I nuked redundant extern char **environ
> > declaration: strace.c had *two* of them...)
> > 
> > Please review.
> 
> Looks good.

Thanks for review, pushed to git (both patches).

-- 
vda



------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to