In my haste I forgot to note, that, unsurprisingly,
the same holds for %G and %C:
-- >8 --
$ TZ=UTC0 ./a.out '%F %G %C %s' 67768036191676799
-2147481749-12-31 -2147481748 -21474818 67768036191676799
-- >8 --
наб
signature.asc
Description: PGP signature
Control: retitle -1 strftime(%Y) overflows into the negatives for very positive
years
Control: found -1 2.33-7
Under TZ=UTC0, the most positive and most negative times glibc
accepts (i.e. "doesn't NULL, EOVERFLOW for") are
67768036191676799 (0x00F0C2AB7C54A97F)
-67768040609740800 (0xFF0F3D53
Processing control commands:
> retitle -1 strftime(%Y) overflows into the negatives for very positive years
Bug #444589 [libc6] strftime("%Y") may produce negative year for positive
tm_year
Changed Bug title to 'strftime(%Y) overflows into the negatives for very
positive years' from 'strftime("%
3 matches
Mail list logo