Am Fri, Oct 21, 2022 at 02:06:32PM +0700 schrieb Robert Elz:
>     Date:        Fri, 21 Oct 2022 03:05:15 +0000
>     From:        "Jan Schaumann" <jscha...@netbsd.org>
>     Message-ID:  <20221021030515.cdc9df...@cvs.netbsd.org>
> 
>   | Note normalizing behavior of mktime(3) using language from FreeBSD.
> 
> If we are going to start specifying what happens (how the struct tm
> is normalised) then we really also need to specify in which order
> the fields are corrected.   It makes a difference.

I'd actually weasle out a bit and just declare that normalisation is
best effort and we don't guarantee behavior for values that are very
much outside the range of the corresponding field. E.g. anything where
numerical overflow can happen in a component.

Joerg

Reply via email to