summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
dcab0a6)
SCCS-vsn: usr.sbin/sendmail/src/deliver.c 1.10
# include <log.h>
# endif LOG
# include <log.h>
# endif LOG
-static char SccsId[] = "@(#)deliver.c 1.9 %G%";
+static char SccsId[] = "@(#)deliver.c 1.10 %G%";
/*
** DELIVER -- Deliver a message to a particular address.
/*
** DELIVER -- Deliver a message to a particular address.
else if (pid == 0)
{
/* child -- set up input & exec mailer */
else if (pid == 0)
{
/* child -- set up input & exec mailer */
+ /* make diagnostic output be standard output */
+ close(2);
+ dup(1);
signal(SIGINT, SIG_IGN);
if (editfcn != NULL)
{
signal(SIGINT, SIG_IGN);
if (editfcn != NULL)
{
pipesig()
{
syserr("Broken pipe");
pipesig()
{
syserr("Broken pipe");
+ signal(SIGPIPE, SIG_IGN);
}
\f/*
** SENDTO -- Designate a send list.
}
\f/*
** SENDTO -- Designate a send list.