diff options
author | Allan McRae <allan@archlinux.org> | 2012-02-24 21:40:20 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-05 11:44:34 -0600 |
commit | cb64fbeac41308ee8c46384a126195a1fd75a361 (patch) | |
tree | 8c15263ba96093d255625a7296d61198fd2b7c0c /lib/libalpm/be_local.c | |
parent | ea7fc8962a819a04237876995140363a818202d4 (diff) | |
download | pacman-cb64fbeac41308ee8c46384a126195a1fd75a361.tar.xz |
Do not dereference symlinks when calculating size
Passing the "-L" flag to stat means we get the size of the file
being pointed to for symlinks instead of the size of the symlink.
Keep "-L" usage in repo-add as we want the actual size of the
package/delta/signature there.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_local.c')
0 files changed, 0 insertions, 0 deletions