s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

commit 23edd6b9a4cca74cada39bffa9d71e2428689b67
parent 08103d563a9a85b0eec1c98824788cea9dd0ed8e
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Mon, 26 Mar 2018 21:20:09 +0000

 Bugfix: inverted warning condition on s6_dtally_write (non-critical)

Diffstat:
MNEWS | 6++++++
Mdoc/index.html | 2+-
Mdoc/upgrade.html | 6++++++
Mpackage/info | 2+-
Msrc/supervision/s6-supervise.c | 2+-
5 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/NEWS b/NEWS @@ -1,5 +1,11 @@ Changelog for s6. +In 2.7.1.1 +---------- + + - Bugfixes. + + In 2.7.1.0 ---------- diff --git a/doc/index.html b/doc/index.html @@ -100,7 +100,7 @@ library. </li> <h3> Download </h3> <ul> - <li> The current released version of s6 is <a href="s6-2.7.1.0.tar.gz">2.7.1.0</a>. </li> + <li> The current released version of s6 is <a href="s6-2.7.1.1.tar.gz">2.7.1.1</a>. </li> <li> Alternatively, you can checkout a copy of the <a href="//git.skarnet.org/cgi-bin/cgit.cgi/s6/">s6 git repository</a>: diff --git a/doc/upgrade.html b/doc/upgrade.html @@ -18,6 +18,12 @@ <h1> What has changed in s6 </h1> +<h2> in 2.7.1.1 </h2> + +<ul> + <li> No functional changes. </li> +</ul> + <h2> in 2.7.1.0 </h2> <ul> diff --git a/package/info b/package/info @@ -1,4 +1,4 @@ package=s6 -version=2.7.1.0 +version=2.7.1.1 category=admin package_macro_name=S6 diff --git a/src/supervision/s6-supervise.c b/src/supervision/s6-supervise.c @@ -355,7 +355,7 @@ static int uplastup_z (void) tab[m].stamp = status.stamp ; tab[m].sig = WIFSIGNALED(status.wstat) ? WTERMSIG(status.wstat) : 0 ; tab[m].exitcode = WIFSIGNALED(status.wstat) ? 128 + WTERMSIG(status.wstat) : WEXITSTATUS(status.wstat) ; - if (m >= n ? s6_dtally_write(".", tab+1, n) : s6_dtally_write(".", tab, m+1)) + if (!(m >= n ? s6_dtally_write(".", tab+1, n) : s6_dtally_write(".", tab, m+1))) strerr_warnwu2sys("write ", S6_DTALLY_FILENAME) ; } }