Index | Thread | Search

From:
Todd C. Miller <millert@openbsd.org>
Subject:
Re: localtime(3) / gmtime(3) error checking for bin / libexec / sbin
To:
Florian Obser <florian@openbsd.org>
Cc:
tech <tech@openbsd.org>
Date:
Sun, 28 Apr 2024 08:58:13 -0600

Download raw body.

Thread
  • Todd C. Miller:

    localtime(3) / gmtime(3) error checking for bin / libexec / sbin

On Sun, 28 Apr 2024 08:48:45 -0600, "Todd C. Miller" wrote:

> This looks good to me.  I think it is worth adding the checks even
> if failure should be impossible.  Some comments inline.

I see there is precendent in shutdown(8) for just saying "soon" if
the time cannot be determined so I guess those bits are fine as-is.

 - todd