[patch] enhancement for "test -nt" to support nanosecond timestamps wher
From:
James Youngman
Subject:
[patch] enhancement for "test -nt" to support nanosecond timestamps where available
Date:
Sun, 17 Jul 2005 23:46:51 +0100
User-agent:
Mutt/1.5.9i
The attcached patch enhances "test" and "[" to take account of the
nanoseconds part of the mtime when evaluating "test A -nt B" and "test
A -ot B".
Regards,
James.
2005-07-17 James Youngman <address@hidden>
* src/test.c (age_of): Return the nanoseconds part of the
timestamp if this is available.
* configure.ac: Determine if 'struct stat' has a member st_mtim
which contains the nanoseconds part of the mtime.