Date: Thu, 21 Aug 2008 15:30:16 +0400 From: Ruslan Ermilov <ru@freebsd.org> To: Dag-Erling Sm??rgrav <des@des.no> Cc: FreeBSD Tinderbox <tinderbox@freebsd.org>, current@freebsd.org Subject: Re: [head tinderbox] failure on amd64/amd64 Message-ID: <20080821113016.GA32973@edoofus.dev.vega.ru> In-Reply-To: <868wuqipfo.fsf@ds4.des.no> References: <20080813185600.B88E373039@freebsd-current.sentex.ca> <86abfgs5v6.fsf@ds4.des.no> <20080819171105.GB19836@edoofus.dev.vega.ru> <86tzdgje09.fsf@ds4.des.no> <20080820145352.GA17342@edoofus.dev.vega.ru> <868wuqipfo.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Thu, Aug 21, 2008 at 01:21:31PM +0200, Dag-Erling Sm??rgrav wrote: > Ruslan Ermilov <ru@freebsd.org> writes: > > -mtime -0s (note the minus before "0s"). > > The find(1) man page does not document the semantics of negative > arguments. Feel free to correct it. > It does, but the semantics isn't "negative". A quote: : All primaries which take a numeric argument allow the number : to be preceded by a plus sign (``+'') or a minus sign (``-''). : A preceding plus sign means ``more than n'', a preceding minus : sign means ``less than n'' and neither means ``exactly n''. So, -0s would mean that the difference between the current time and file's modification time is negative. > I would still prefer to have the test removed. > The reason it was added is to catch common cases of date/time being set to point to the past. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080821113016.GA32973>
