Re: Greater resolution in test -nt / test -ot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 07, 2018 at 05:32:29PM +0000, Martijn Dekker wrote:
> Op 07-03-18 om 15:46 schreef Martijn Dekker:
> > Op 06-03-18 om 09:19 schreef Herbert Xu:
> >> On Thu, Jun 22, 2017 at 10:30:02AM +0200, Petr Skočík wrote:
> >>> would you be willing to pull something like this?
> > [...]
> >>> I could use greater resolution in `test -nt` / `test -ot`, and st_mtim
> >>> field is standardized under POSIX.1-2008 (or so stat(2) says).
> >>
> >> Sure.  But your patch is corrupted.
> > 
> > Fixed patch attached.
> > 
> > But I wouldn't apply it as is. My system does not have st_mtim. So I
> > think it needs a configure test and a fallback to the old method.
> 
> Here's an attempt to make that happen. See attached.

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux