ipkg-utils: convert mtime to int before comparing it
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Tue, 15 Jun 2010 12:43:54 +0000 (14:43 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 6 Jul 2015 20:35:53 +0000 (23:35 +0300)
commit2a03265f1550da05e2b145e0463792dc7388c14d
treee59e7e92d44931ee22f9210de030a9be03739b7c
parent01dd497ecc2832265b68ad5f429c376c136e25be
ipkg-utils: convert mtime to int before comparing it

The st_mtime attribute (which is a float) is compared against a value
from the timestamp database, which was stored as an integer there.

When working on a filesystem with precise timestamps the comparision
will fail nearly everytime hence.

Although it might be possible to enhance the database to store the
fractional part too, this will complicate things more than we would
gain by this change.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
recipes/ipkg-utils/ipkg-utils-native_1.6+cvs20050404.bb
recipes/ipkg-utils/ipkg-utils/ipkg-make-index-track-stamps.patch
recipes/ipkg-utils/ipkg-utils_1.6+cvs20050404.bb