On 2017-03-09, John Vogel <[email protected]> wrote:
> This tests good here:
>
> diff --git a/date.c b/date.c
> index dcf2528..67f28d0 100644
> --- a/date.c
> +++ b/date.c
> @@ -25,7 +25,7 @@ datefield(const char *s, size_t i)
>  static void
>  setdate(const char *s, struct tm *now)
>  {
> -     struct tm date;
> +     struct tm date = { .tm_sec = 0, .tm_isdst = -1 };
>       struct timespec ts;
>
>       switch (strlen(s)) {

Applied finally, with this and a couple more other minor tweaks.

Reply via email to