summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-01-19 01:16:35 +0000
committerimp <imp@FreeBSD.org>2007-01-19 01:16:35 +0000
commit4e9ace58c2704aa479abc22ea7d79817aff75229 (patch)
tree5de3aad0bab371669021de595a7552e478958459 /usr.bin
parent542ee93dabab0ff4433f7dba62ccd6bf4772e28b (diff)
downloadFreeBSD-src-4e9ace58c2704aa479abc22ea7d79817aff75229.zip
FreeBSD-src-4e9ace58c2704aa479abc22ea7d79817aff75229.tar.gz
On FreeBSD/arm, any value > 50 bits will result in a rediculously huge
number being returned for mktime and timegm calls. Choose 48 because that works well. This does reduce the dynamic range of tm_year from about 2 billion years down to "only" about 9 million years. Please contact me if this restriction poses a problem. Due to the complexity of the code, I admit that I didn't trace down what, exactly, was overflowing with longer bits. This fixes software that we run on the embedded systems we have.
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud