Re: test builtin does not check for nanoseconds while comparing timestamps

2017-06-07 Thread Chet Ramey
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_

test builtin does not check for nanoseconds while comparing timestamps

2017-06-02 Thread Siteshwar Vashisht
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale'