HomeFreeBSD

bin/date: Upgrade calculations

Description

bin/date: Upgrade calculations

Use long instead of int for numerous calculations, fixing a number of
date calculation overflow issues.

Obtained from: DragonflyBSD
Git log: 4238ce6f0c6df33ce677ae298b245c62cd60fb43 (only partial)

Details

Provenance
pfgAuthored on Jul 3 2023, 2:32 AM
Parents
rGee8b0c436d72: lib/libc/string: replace ffs/fls implementations with clang builtins
Branches
Unknown
Tags
Unknown