auc: compare versions using dpkg/opkg's verrevcmp
authorDaniel Golle <daniel@makrotopia.org>
Mon, 26 Apr 2021 18:16:19 +0000 (19:16 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 26 Apr 2021 18:21:43 +0000 (19:21 +0100)
commit794cf3ac59deb28b30f63aeb26f58726595cd885
tree8be38c5ffb70a4840690f0e7ba98273557c6a52e
parent9996328abd256fe6adf792d953c67c111d26e36c
auc: compare versions using dpkg/opkg's verrevcmp

Using strcmp() to compare a version string doesn't work well.
Use verrevcmp() function from opkg instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
utils/auc/src/CMakeLists.txt
utils/auc/src/auc.c