Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2012 11:26:38 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Ed Schouten <ed@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r231383 - in head: lib/libutil usr.sbin/vipw
Message-ID:  <201202131126.38759.jhb@freebsd.org>
In-Reply-To: <201202101340.q1ADeWDj076596@svn.freebsd.org>
References:  <201202101340.q1ADeWDj076596@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, February 10, 2012 8:40:32 am Ed Schouten wrote:
> Author: ed
> Date: Fri Feb 10 13:40:32 2012
> New Revision: 231383
> URL: http://svn.freebsd.org/changeset/base/231383
> 
> Log:
>   Detect file modification properly by using tv_nsec.
>   
>   POSIX 2008 standardizes st_mtim, meaning we can simply use nanosecond
>   precision to detect file modification.
>   
>   MFC after:	2 weeks

Eh, the BUG is still worth mentioning.  By default FreeBSD only uses second 
granularity for VFS timestamps, so two updates within a single second is still 
racey.  You can keep the code change, but I would revert the manual page 
change to put the BUG back as your change didn't remove it.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202131126.38759.jhb>