summaryrefslogtreecommitdiffstats
path: root/tools/test/README
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2008-05-16 22:31:17 +0000
committermarkus <markus@FreeBSD.org>2008-05-16 22:31:17 +0000
commit6b800eb94c3bd18d01e684d5dcd776b3ff70a710 (patch)
treee1d6d9d3849540311c8a7d14607bf8b731fee324 /tools/test/README
parent7617274408cc44637fae0a043172072004480e96 (diff)
downloadFreeBSD-src-6b800eb94c3bd18d01e684d5dcd776b3ff70a710.zip
FreeBSD-src-6b800eb94c3bd18d01e684d5dcd776b3ff70a710.tar.gz
Fix and speedup timestamp calculations which is roughly based on the patch in
the mentioned PR: - bounds check time->month as it is used as an array index - fix usage of time->month as array index (month is 1-12) - fix calculation based on time->day (day is 1-31) - fix the speedup code as it doesn't calculate correct timestamps before the year 2000 and reduce the number of calculation in the year-by-year code - speedup month calculations by replacing the array content with cumulative values - add microseconds calculation - fix an endian problem PR: kern/97786 Submitted by: Andriy Gapon <avg@topspin.kiev.ua> Reviewed by: scottl (earlier version) Approved by: emax (mentor) MFC after: 1 week
Diffstat (limited to 'tools/test/README')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud