]> git.e2factory.org Git - e2factory.git/commit
hashcache: prevent erroneous same-second cache hits
authorTobias Ulmer <tu@emlix.com>
Wed, 16 Sep 2015 19:33:11 +0000 (21:33 +0200)
committerTobias Ulmer <tu@emlix.com>
Wed, 7 Oct 2015 19:06:51 +0000 (21:06 +0200)
commit95643e6f7b41bd93af40dcc01851d7cbee2e7f79
treeb2153780171400efe766312a1b6b8037b2f88705
parentb67f59eecc6bb7f4cb791c9477d33317f5b4d2d1
hashcache: prevent erroneous same-second cache hits

One second resolution is clearly not enough. Compare nanosecond mtime
and ctime as well as size to prevent accidental cache hits.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
Changelog
local/e2tool.lua