diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2008-05-26 23:46:01 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-05-29 13:37:14 +0200 |
commit | 149839c5391e9a93465f86dbb8d095a0150d755d (patch) | |
tree | 71b23a3042f360f8c935ee3befc49150a055f972 /lib/libalpm/db.c | |
parent | 1d71079c5b57af2feb53fbfa98f93122a32ca154 (diff) | |
download | pacman-149839c5391e9a93465f86dbb8d095a0150d755d.tar.gz pacman-149839c5391e9a93465f86dbb8d095a0150d755d.tar.xz |
du -b is not available on BSD, use du -k instead.
This fixes FS#10459.
There is apparently no portable ways to get the apparent size of a file,
like du -b does. So the best compromise seems to get the block size in kB,
and then convert that to byte so that we keep compatibility.
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
0 files changed, 0 insertions, 0 deletions