From 12cc2e509c1253e08b5fea654e80eb308bc08025 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 15 Oct 2015 09:59:40 +0000 Subject: - remove now useless tain_now() check in s6-setlock - version: 2.2.2.0 --- INSTALL | 4 ++-- doc/index.html | 4 ++-- doc/upgrade.html | 3 +++ src/daemontools-extras/s6-setlock.c | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/INSTALL b/INSTALL index 685f8e6..049db1d 100644 --- a/INSTALL +++ b/INSTALL @@ -6,8 +6,8 @@ Build Instructions - A POSIX-compliant C development environment - GNU make version 3.81 or later - - skalibs version 2.3.7.1 or later: http://skarnet.org/software/skalibs/ - - execline version 2.1.4.1 or later: http://skarnet.org/software/execline/ + - skalibs version 2.3.8.0 or later: http://skarnet.org/software/skalibs/ + - execline version 2.1.4.2 or later: http://skarnet.org/software/execline/ This software will run on any operating system that implements POSIX.1-2008, available at: diff --git a/doc/index.html b/doc/index.html index 20e3f6b..7773901 100644 --- a/doc/index.html +++ b/doc/index.html @@ -83,11 +83,11 @@ with s6
  • A POSIX-compliant system with a standard C development environment
  • GNU make, version 3.81 or later
  • skalibs version -2.3.7.1 or later. It's a build-time requirement. It's also a run-time +2.3.8.0 or later. It's a build-time requirement. It's also a run-time requirement if you link against the shared version of the skalibs library.
  • execline version -2.1.4.1 or later. It's a build-time and run-time requirement.
  • +2.1.4.2 or later. It's a build-time and run-time requirement.

    Licensing

    diff --git a/doc/upgrade.html b/doc/upgrade.html index 91c088e..c65f1fb 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -23,6 +23,9 @@

    in 2.2.1.1

    diff --git a/src/daemontools-extras/s6-setlock.c b/src/daemontools-extras/s6-setlock.c index f2ce79e..15970ed 100644 --- a/src/daemontools-extras/s6-setlock.c +++ b/src/daemontools-extras/s6-setlock.c @@ -58,7 +58,7 @@ int main (int argc, char const *const *argv, char const *const *envp) int p[2] ; unsigned int pid ; char c ; - if (!tain_now_g()) strerr_diefu1sys(111, "tain_now") ; + tain_now_g() ; tain_from_millisecs(&deadline, timeout) ; tain_add_g(&deadline, &deadline) ; pid = child_spawn(S6_LIBEXECPREFIX "s6lockd-helper", cargv, cenvp, p, 2) ; -- cgit v1.3.1