On 8/21/21 1:28 AM, Emanuele Torre wrote:
Bash Version: 5.1 Patch Level: 8 Release Status: release
get_epochrealtime() casts tv.tv_sec (a time_t a.k.a. int) to unsigned int causing EPOCHREALTIME to not behave correctly before the Unix Epoch.
The definition is seconds since the Unix epoch. It's not surprising that it doesn't pay attention to dates before that. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/