nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] rmmproc Not Used for Lots of Messages; refile Copies.


From: David Levine
Subject: Re: [Nmh-workers] rmmproc Not Used for Lots of Messages; refile Copies.
Date: Sun, 02 Dec 2012 10:08:28 -0600

Ken wrote:

> >+       /* If using an rmmproc, check for MAXARGS overflow before
> >+          modifying anything.  If not using an rmmproc, we don't
> >+          pass the message files to another process, so this check
> >+          isn't necessary.  This check also isn't necessary if
> >+          NFOLDERS < MAXARGS - 1, because there's a check above for
> >+          filep <=3D NFOLDERS, but do it in that case just to be safe. =
> */
> 
> Paul Fox's patch removes the MAXARGS limit, so I don't think capping the
> limit to MAXARGS in refile is right.  Maybe this isn't a problem anymore
> in practice since newer operating systems have huge execve() limits?

And the dynamic allocation of the vector to hold the arguments is
unlikely to fail.  Fine with me.

David



reply via email to

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