diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-20 23:41:56 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-20 23:41:56 +0000 |
commit | b8baf407aacc09167c4e9fa0db55fe323b15854e (patch) | |
tree | e16b83936ea6dcf30e8b9968c5068d03d6bacf55 /libbb/udp_io.c | |
parent | 9a4c0d59a79efeba4e1c5feed7d07b7c6b6b04ce (diff) | |
download | busybox-b8baf407aacc09167c4e9fa0db55fe323b15854e.tar.gz |
dpkg: better and shorter code to compare versions
(taken from "official" dpkg).
By Eugene T. Bordenkircher (eugebo AT gmail.com)
function old new delta
order - 48 +48
test_version 273 276 +3
version_compare_part 396 187 -209
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 51/-209) Total: -158 bytes
Diffstat (limited to 'libbb/udp_io.c')
0 files changed, 0 insertions, 0 deletions