freebsd-dev/sys/fs/udf
Markus Brueffer 9c2bf69d32 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
2008-05-16 22:31:17 +00:00
..
ecma167-udf.h In udf_find_partmaps(), when we find a type 1 partition map, we have to 2006-07-25 14:15:50 +00:00
osta.c /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
osta.h Put the osta.c license on osta.h. The license is the same. 2006-09-12 19:02:34 +00:00
udf_iconv.c
udf_mount.h
udf_vfsops.c Cleanup lockmgr interface and exported KPI: 2008-01-24 12:34:30 +00:00
udf_vnops.c Fix and speedup timestamp calculations which is roughly based on the patch in 2008-05-16 22:31:17 +00:00
udf.h Move vnode-to-file-handle translation from vfs_vptofh to vop_vptofh method. 2007-02-15 22:08:35 +00:00