tmk: patch for usec mtime comparison - distro - linux distribution experiments
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 95e7d83a23406d95811c34af361faaa71c8fa3a0
 (DIR) parent 602f3f76023f63612c477d274880161699deda34
 (HTM) Author: z3bra <contactatz3bradotorg>
       Date:   Wed, 31 Oct 2018 00:22:45 +0100
       
       mk: patch for usec mtime comparison
       
       Diffstat:
         A pkg/mk/patches/mtime-usec.diff      |      10 ++++++++++
       
       1 file changed, 10 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/pkg/mk/patches/mtime-usec.diff b/pkg/mk/patches/mtime-usec.diff
       t@@ -0,0 +1,10 @@
       +diff -urN a/unix.c b/unix.c
       +--- a/unix.c        2017-09-01 18:32:12.000000000 +0200
       ++++ b/unix.c        2018-10-21 20:13:04.976185206 +0200
       +@@ -337,5 +337,5 @@
       +         if(stat(name, &st) < 0)
       +                 return 0;
       + 
       +-        return st.st_mtime;
       ++        return st.st_mtime * 1000000 + st.st_mtim.tv_nsec / 1000000;
       + }