a59b0a9 basic/stat-util: make mtime check stricter and use entire timestamp

Authored and Committed by msekleta 3 years ago
    basic/stat-util: make mtime check stricter and use entire timestamp
    
    Note that st_mtime member of struct stat is defined as follows,
    
     #define st_mtime st_mtim.tv_sec
    
    Hence we omitted checking nanosecond part of the timestamp (struct
    timespec) and possibly would miss modifications that happened within the
    same second.
    
        
file modified
+2 -1