From 84f6ffe6af05b9bdd33066254dca57ef4582afe2 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 29 Nov 2022 12:52:26 +0000 Subject: Prepare for 1.0.8.1 Signed-off-by: Laurent Bercot --- src/init/s6-linux-init-maker.c | 2 +- src/init/s6-linux-init-telinit.c | 2 +- src/init/s6-linux-init.c | 2 +- src/misc/s6-linux-init-echo.c | 2 +- src/misc/s6-linux-init-logouthookd.c | 2 +- src/misc/s6-linux-init-umountall.c | 2 +- src/shutdown/hpr_confirm_hostname.c | 2 +- src/shutdown/hpr_wallv.c | 2 +- src/shutdown/s6-linux-init-hpr.c | 2 +- src/shutdown/s6-linux-init-shutdown.c | 3 ++- src/shutdown/s6-linux-init-shutdownd.c | 2 +- 11 files changed, 12 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/init/s6-linux-init-maker.c b/src/init/s6-linux-init-maker.c index 840695f..6f01d1e 100644 --- a/src/init/s6-linux-init-maker.c +++ b/src/init/s6-linux-init-maker.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/init/s6-linux-init-telinit.c b/src/init/s6-linux-init-telinit.c index ef99e5f..1ad3f44 100644 --- a/src/init/s6-linux-init-telinit.c +++ b/src/init/s6-linux-init-telinit.c @@ -5,7 +5,7 @@ #include #include -#include +#include #include #include diff --git a/src/init/s6-linux-init.c b/src/init/s6-linux-init.c index d9585d6..699b89f 100644 --- a/src/init/s6-linux-init.c +++ b/src/init/s6-linux-init.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/misc/s6-linux-init-echo.c b/src/misc/s6-linux-init-echo.c index a59eae7..54fabc6 100644 --- a/src/misc/s6-linux-init-echo.c +++ b/src/misc/s6-linux-init-echo.c @@ -2,7 +2,7 @@ #include #include -#include +#include #define USAGE "s6-linux-init-echo [ -n ] [ -s sep ] args..." diff --git a/src/misc/s6-linux-init-logouthookd.c b/src/misc/s6-linux-init-logouthookd.c index cc542ba..1dfecee 100644 --- a/src/misc/s6-linux-init-logouthookd.c +++ b/src/misc/s6-linux-init-logouthookd.c @@ -16,7 +16,7 @@ #include #include -#include +#include #ifndef UT_NAMESIZE #define UT_NAMESIZE 32 diff --git a/src/misc/s6-linux-init-umountall.c b/src/misc/s6-linux-init-umountall.c index 42fae15..d4320ad 100644 --- a/src/misc/s6-linux-init-umountall.c +++ b/src/misc/s6-linux-init-umountall.c @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include diff --git a/src/shutdown/hpr_confirm_hostname.c b/src/shutdown/hpr_confirm_hostname.c index 040c2f6..3cb1d29 100644 --- a/src/shutdown/hpr_confirm_hostname.c +++ b/src/shutdown/hpr_confirm_hostname.c @@ -9,7 +9,7 @@ #include #include -#include +#include #include "hpr.h" diff --git a/src/shutdown/hpr_wallv.c b/src/shutdown/hpr_wallv.c index 50523c5..083fa7f 100644 --- a/src/shutdown/hpr_wallv.c +++ b/src/shutdown/hpr_wallv.c @@ -5,7 +5,7 @@ #include #include -#include +#include #include #include diff --git a/src/shutdown/s6-linux-init-hpr.c b/src/shutdown/s6-linux-init-hpr.c index 7f3d457..d4fc6e8 100644 --- a/src/shutdown/s6-linux-init-hpr.c +++ b/src/shutdown/s6-linux-init-hpr.c @@ -8,7 +8,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/shutdown/s6-linux-init-shutdown.c b/src/shutdown/s6-linux-init-shutdown.c index 011abef..bc30f0c 100644 --- a/src/shutdown/s6-linux-init-shutdown.c +++ b/src/shutdown/s6-linux-init-shutdown.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include #include @@ -181,6 +181,7 @@ static inline void access_control (void) fmt[uint32_fmt(fmt, AC_BUFSIZE - 1)] = 0 ; strerr_dief4x(1, AC_FILE, " is too big: it needs to be ", fmt, " bytes or less") ; } + errno = EPIPE ; if (allread(fd, buf, st.st_size) < st.st_size) strerr_diefu2sys(111, "read ", AC_FILE) ; fd_close(fd) ; diff --git a/src/shutdown/s6-linux-init-shutdownd.c b/src/shutdown/s6-linux-init-shutdownd.c index ed02721..9b019e5 100644 --- a/src/shutdown/s6-linux-init-shutdownd.c +++ b/src/shutdown/s6-linux-init-shutdownd.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include #include -- cgit v1.2.3