nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 691e99b6dff1aef5dfe8e5ab5e73da8bc3145bc7
parent 174a1ba70e9b8e3109570a4cbc2ff70614aacbd6
Author: Alan Post <adp@prgmr.com>
Date:   Sat, 24 Aug 2019 11:54:49 -0600

add exit.h to qmail-pw2u.c and qmail-qmtpd.c.

Both of these programs call _exit but don't include the exit.h header
where it is declared.

Inspired by Gentoo's 1.06-exit.patch.

Diffstat:
MMakefile | 4++--
Mqmail-pw2u.c | 1+
Mqmail-qmtpd.c | 1+
3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1304,7 +1304,7 @@ qmail-pw2u.9 conf-qmail conf-break conf-spawn qmail-pw2u.o: \ compile qmail-pw2u.c substdio.h readwrite.h subfd.h substdio.h \ sgetopt.h subgetopt.h control.h constmap.h stralloc.h gen_alloc.h \ -fmt.h str.h scan.h open.h error.h getln.h auto_break.h auto_qmail.h \ +fmt.h str.h scan.h open.h error.h getln.h exit.h auto_break.h auto_qmail.h \ auto_users.h byte.h ./compile qmail-pw2u.c @@ -1357,7 +1357,7 @@ qmail-qmtpd.8 qmail-qmtpd.o: \ compile qmail-qmtpd.c stralloc.h gen_alloc.h substdio.h qmail.h \ substdio.h now.h datetime.h str.h fmt.h env.h sig.h rcpthosts.h \ -auto_qmail.h readwrite.h control.h received.h +auto_qmail.h readwrite.h control.h received.h exit.h ./compile qmail-qmtpd.c qmail-qread: \ diff --git a/qmail-pw2u.c b/qmail-pw2u.c @@ -14,6 +14,7 @@ #include "open.h" #include "error.h" #include "getln.h" +#include "exit.h" #include "auto_break.h" #include "auto_qmail.h" #include "auto_users.h" diff --git a/qmail-qmtpd.c b/qmail-qmtpd.c @@ -12,6 +12,7 @@ #include "readwrite.h" #include "control.h" #include "received.h" +#include "exit.h" void badproto() { _exit(100); } void resources() { _exit(111); }