[head tinderbox] failure on amd64/amd64
Ruslan Ermilov
ru at freebsd.org
Thu Aug 21 11:31:06 UTC 2008
Hi,
On Thu, Aug 21, 2008 at 01:21:31PM +0200, Dag-Erling Sm??rgrav wrote:
> Ruslan Ermilov <ru at 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 at FreeBSD.org
FreeBSD committer
More information about the freebsd-tinderbox
mailing list