kern/97786: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Fri May 16 22:40:03 UTC 2008

The following reply was made to PR kern/97786; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at
Subject: Re: kern/97786: commit references a PR
Date: Fri, 16 May 2008 22:31:24 +0000 (UTC)

 markus      2008-05-16 22:31:17 UTC
   FreeBSD src repository
   Modified files:
     sys/fs/udf           udf_vnops.c 
   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
   - add microseconds calculation
   - fix an endian problem
   PR:             kern/97786
   Submitted by:   Andriy Gapon <avg at>
   Reviewed by:    scottl (earlier version)
   Approved by:    emax (mentor)
   MFC after:      1 week
   Revision  Changes    Path
   1.69      +34 -22    src/sys/fs/udf/udf_vnops.c
 cvs-all at mailing list
 To unsubscribe, send any mail to "cvs-all-unsubscribe at"

More information about the freebsd-bugs mailing list