[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Make svn ls -v display dates when appropriate

From: Peter S. Housel <housel_at_acm.org>
Date: 2003-09-06 00:28:04 CEST

Ben Collins-Sussman <sussman@collab.net> wrote:
> housel@acm.org (Peter S. Housel) writes:
>
> > + if (apr_time_sec(now - dirent->time) < (365 * 86400 / 2)
>
> Um, will that numeric expression get hard-coded into a constant
> 15768000 by the compiler? :-)

almost, but not exactly...

        movl %eax, -168(%ebp)
        movl %edx, -164(%ebp)
        cmpl $0, -164(%ebp)
        jg .L33
        cmpl $0, -164(%ebp)
        js .L35
        cmpl $15767999, -168(%ebp)
        ja .L33
.L35:

-Peter-

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 6 00:29:41 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.