nmh-workers
[Top] [All Lists]

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

2012-12-02 10:08:37
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

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>