diff options
author | Daniel Micay <danielmicay@gmail.com> | 2015-01-14 13:21:29 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-01-21 05:26:54 +0100 |
commit | 21281e9b69fa061bb64b6fb4e25f04bd0e530554 (patch) | |
tree | ff33426094a3f32b8d93dd6328f562c00ff22e14 /src/common/util-common.c | |
parent | a31426d3ea79f7b22d5000f2bfecb52f95246444 (diff) | |
download | pacman-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 'src/common/util-common.c')
0 files changed, 0 insertions, 0 deletions