diff options
author | Dan McGee <dan@archlinux.org> | 2011-09-13 03:25:58 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-28 17:17:15 +0200 |
commit | bcc6a5d72df3cb3ee9f3d2347526c3dc03d5f55a (patch) | |
tree | 6588c75a79d7e7a78137b9efae58bbcb4d8c4a8c /lib/libalpm/diskspace.c | |
parent | 1b8bb7c1cd81c1f8f0dcffc952cd464b6a436f06 (diff) | |
download | pacman-bcc6a5d72df3cb3ee9f3d2347526c3dc03d5f55a.tar.gz pacman-bcc6a5d72df3cb3ee9f3d2347526c3dc03d5f55a.tar.xz |
Table format creation code cleanup
Better scoping of variables for the most part, and ensure we are using
string_length() and not strlen() as appropriate. Also refactor the
longest cell code to call string_length() a lot less; by simply using an
array of max sizes we don't have to recompute values nearly as much.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/diskspace.c')
0 files changed, 0 insertions, 0 deletions