nmh-workers
[Top] [All Lists]

Re: [nmh-workers] closefds() _before_ fork?

2019-04-22 17:13:30
Ken wrote:

Can anyone think of a reason that for this specific
case closefds() should NOT be moved from whatnowbr.c (and send.c) into
sendsbr.c, and just in the child process?

That looks like a good change.  The callers of sendsbr() shouldn't be
concerned with its fork/exec.

Those two closefds() have been there since early 1990, and maybe earlier.

David

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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