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)
committerEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Thu, 15 Jul 2010 09:38:01 +0000 (11:38 +0200)
commit49e11b32906fc1becd9218bb3125f6fc8fa03fa4
treeb9154c7efc468ac75f979a923f6f5194a945138f
parentc1968dc5ea6b0552a8ca2c9c38c51c5df0ae4917
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