Re: test builtin of bash is not using nanosecond timestamps
From:
Chet Ramey
Subject:
Re: test builtin of bash is not using nanosecond timestamps
Date:
Tue, 06 Mar 2012 19:56:20 -0500
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
On 3/6/12 7:37 PM, Eric Blake wrote:
>> Thanks for the report. Unfortunately, the way different versions of Unix
>> name the `struct timespec' members of struct stat varies, and so the patch
>> is only valid on Linux, Solaris, and Cygwin. I will come up with some
>> autoconf-based way to do it.
>
> Gnulib already supports this; see the lib/stat-time.h header, which
> should be pretty easy to import into bash.
Yep, thanks. I'm already looking at it.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/