distro

small linux distro experiment
Log | Files | Refs

commit 95e7d83a23406d95811c34af361faaa71c8fa3a0
parent 602f3f76023f63612c477d274880161699deda34
Author: z3bra <contactatz3bradotorg>
Date:   Wed, 31 Oct 2018 00:22:45 +0100

mk: patch for usec mtime comparison

Diffstat:
pkg/mk/patches/mtime-usec.diff | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/pkg/mk/patches/mtime-usec.diff b/pkg/mk/patches/mtime-usec.diff @@ -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; + }