On Thu, Nov 12, 2020 at 09:22:45AM -0600, Derek Martin wrote:
On Thu, Nov 12, 2020 at 12:18:07PM +0100, Oswald Buddenhagen wrote:
with this hack you have no error checking at all, and
unexpected output on stdout would mess up things totally.

Agree, although I'm not sure about that last bit...  Mutt closes all
file descriptors (except stdin) before executing sendmail, some of the
time. [...]

but that's exactly the point: he uses *mutt's (and its child processes') actual stdout* as sendmail's input, not the interface that was designed for that.

perhaps it makes sense for Mutt to unconditionally
reset the disposition of ALL signals to default before it does much of
anything else,

i wouldn't do that (in any case), because it delays the discovery of bogus assumptions (== bugs) in other software.

Reply via email to