Re: svlogd timestamps fail on OpenBSD 5.5 (snapshot)

From: Mike Jackson <mj_at_netauth.com>
Date: Tue, 22 Apr 2014 08:18:34 +0300

On 22 Apr 2014, at 02.52, Jérémie Courrèges-Anglas <jca_at_wxcvbn.org> wrote:

> jca_at_wxcvbn.org (Jérémie Courrèges-Anglas) writes:
>
> You funny ezmlm, where have you hidden my patch?
>
> This is not a blind guess anymore, please confirm that it fix your
> problem.
>
> --- src/fmt_ptime.c.orig Tue Nov 21 16:14:12 2006
> +++ src/fmt_ptime.c Tue Apr 22 01:27:37 2014
> _at_@ -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;
>


Hi,

Yes, the machine in question has a very old 32-bit epia board.

Problem solved. Thanks.

Might be time for a new release that can handle the move to 64-bit time systems. I’m guessing that most of them will be making the change soon.


--
Mike
Received on Tue Apr 22 2014 - 05:18:34 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:18 UTC