Ported by Ludovic Courtès <ludo@gnu.org>
from <a2c4fcd5e9
>.
* nix/libstore/gc.cc (LocalStore::removeUnusedLinks): Use 'st.st_size'
instead of 'st.st_blocks * 512'.
* nix/libutil/util.cc (_deletePath): Likewise.
Ported by Ludovic Courtès <ludo@gnu.org>
from <a2c4fcd5e9
>.
* nix/libstore/gc.cc (LocalStore::removeUnusedLinks): Use 'st.st_size'
instead of 'st.st_blocks * 512'.
* nix/libutil/util.cc (_deletePath): Likewise.