runit

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

commit 7d3f3f5ff2969cb7075b8db63e8dc57c98bea1ec
parent cf6b7101fb536ddd0976f57b9a9ac2f8aa663790
Author: Gerrit Pape <pape@smarden.org>
Date:   Wed, 30 Jul 2014 13:59:55 +0000

  * fmt_ptime.c: 64 bits time_t fix for svlogd (tnx Jérémie
    Courrèges-Anglas).

Patch fetched from the OpenBSD ports tree
 http://openbsd.cs.toronto.edu/cgi-bin/cvsweb/ports/sysutils/runit/patches/patch-src_fmt_ptime_c?rev=1.1&content-type=text/x-cvsweb-markup

Diffstat:
Mpackage/CHANGES | 2++
Msrc/fmt_ptime.c | 2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/CHANGES b/package/CHANGES @@ -1,5 +1,7 @@ 2.1.2 + * fmt_ptime.c: 64 bits time_t fix for svlogd (tnx Jérémie + Courrèges-Anglas). * sv.c: fix typo that may lead to wrong output from sv when reporting status of multiple service directories. * doc/index.html: add deepOfix Mail Server to list of distributions diff --git a/src/fmt_ptime.c b/src/fmt_ptime.c @@ -4,7 +4,7 @@ unsigned int fmt_ptime2(char *s, struct taia *ta, char sep) { struct tm *t; - unsigned long u; + time_t u; if (ta->sec.x < 4611686018427387914ULL) return(0); /* impossible? */ u =ta->sec.x -4611686018427387914ULL;