On 27 Nov 2004, at 07:47, Robert Spier wrote:

Why are we restoring STDIN/STDOUT after a failed exec, right before we
exit?

Bad things happen when that exec fails... especially if the streams
get flushed in the wrong place.

Any reason not to do the following?  (Second half of patch is the
interesting part.)

I must say I wondered that too. I figured Ask was copying C code from qmail-smtpd, but it doesn't appear so.


I say apply it.

Matt.



Reply via email to