[oe] [PATCH] opkg-utils: convert mtime to int before comparing it

Graham Gower graham.gower at gmail.com
Thu Feb 24 01:38:14 UTC 2011


On 24 February 2011 10:42, Enrico Scholz
<enrico.scholz at sigma-chemnitz.de> wrote:
> 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.
>
> This patch was applied as 49e11b32906fc1becd9218bb3125f6fc8fa03fa4 to
> old ipkg-utils already.

Have any of the other patches to ipkg-utils been missed?
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/ipkg-utils/ipkg-utils?h=5bd4e2057db8d67139d49dcec1cb705329ac9041

>
> Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>

Acked-By: Graham Gower <graham.gower at gmail.com>




More information about the Openembedded-devel mailing list