summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2015-01-14 13:21:29 +0100
committerAllan McRae <allan@archlinux.org>2015-01-21 05:26:54 +0100
commit21281e9b69fa061bb64b6fb4e25f04bd0e530554 (patch)
treeff33426094a3f32b8d93dd6328f562c00ff22e14 /lib/libalpm/util.c
parenta31426d3ea79f7b22d5000f2bfecb52f95246444 (diff)
downloadpacman-21281e9b69fa061bb64b6fb4e25f04bd0e530554.tar.gz
pacman-21281e9b69fa061bb64b6fb4e25f04bd0e530554.tar.xz
be_local: fix _alpm_greedy_grow usage
The files_size variable contains the current capacity (in bytes) and should not be used to calculate the next length increment. It only works because _alpm_greedy_grow currently results in incremental growth. Signed-off-by: Daniel Micay <danielmicay@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.c')
0 files changed, 0 insertions, 0 deletions