summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authoruwe <uwe@NetBSD.org>2010-11-19 03:31:24 +0000
committeruwe <uwe@NetBSD.org>2010-11-19 03:31:24 +0000
commit5bb781f731a809abd85204f70504ed03754a6faf (patch)
treeb3367b23f15209f61502d3c9663afe4c04f81e89 /sys/dev
parentb0f3f04a6770d277026a73ff23e23da5bf2a4e1f (diff)
Correct definition of leap year. Make yeartonum and numtoyear use
full years so that year 2000 is correctly counted as a leap year. Now NetBSD under SIMH picks up correct time-of-day clock value. It used to be a day behind, since 2000 - 1900 = 100 and naive leap year test wouldn't count it as a leap year.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions