> In a really old version (from +2 years ago, when the queue code was in
> Qpsmtpd.pm) it was used to set the readers to filehandle 0 and 1 like
> this:
> 
>      close MESSAGE_WRITER or die "could not close message writer in
>      parent";
>      close ENVELOPE_WRITER or die "could not close envelope writer in
>      parent";
> 
>      open(STDIN, "<&MESSAGE_READER") or die "b1";
>      open(STDOUT, "<&ENVELOPE_READER") or die "b2";
> 
>      unless (exec '/var/qmail/bin/qmail-queue') {
>        die "should never be here!";
>      }

I think this is actually different code.

The code we're removing looks like cargo-culted cleanup code that
would have been below the above code.

Anyway, committing it.  We can always revert.

-R

Reply via email to