nmh-workers
[Top][All Lists]
Advanced

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

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


From: David Levine
Subject: Re: [nmh-workers] closefds() _before_ fork?
Date: Mon, 22 Apr 2019 18:13:14 -0400

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



reply via email to

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