From owner-cvs-all@FreeBSD.ORG Sat May 17 09:04:17 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0E871065677; Sat, 17 May 2008 09:04:17 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from hosted.kievnet.com (hosted.kievnet.com [193.138.144.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1D9B08FC59; Sat, 17 May 2008 09:04:17 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost ([127.0.0.1] helo=edge.pp.kiev.ua) by hosted.kievnet.com with esmtpa (Exim 4.62) (envelope-from ) id 1JxHDz-0005C8-9X; Sat, 17 May 2008 10:53:03 +0300 Message-ID: <482E8ED7.6090808@icyb.net.ua> Date: Sat, 17 May 2008 10:52:55 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.12 (X11/20080320) MIME-Version: 1.0 To: Markus Brueffer References: <200805162231.m4GMVH7I085761@repoman.freebsd.org> In-Reply-To: <200805162231.m4GMVH7I085761@repoman.freebsd.org> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/fs/udf udf_vnops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2008 09:04:18 -0000 on 17/05/2008 01:31 Markus Brueffer said the following: > markus 2008-05-16 22:31:17 UTC > > FreeBSD src repository > > Modified files: > sys/fs/udf udf_vnops.c > Log: > 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 > 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 Thank you! -- Andriy Gapon