[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test builtin does not check for nanoseconds while comparing timestam
From: |
Chet Ramey |
Subject: |
Re: test builtin does not check for nanoseconds while comparing timestamps |
Date: |
Wed, 7 Jun 2017 08:15:40 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
On 6/2/17 5:30 PM, Siteshwar Vashisht wrote:
> Bash Version: 4.3
> Patch Level: 43
> Release Status: release
>
> Description:
> If the modified timestamp of 2 files differ by less than 1 second,
> test builtin sometimes returns incorrect result. It happens because
> HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC is not defined in config.h.
Thanks for the report.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/