summaryrefslogtreecommitdiffstats
path: root/po/.gitignore
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-02-08 04:33:30 +0100
committerDan McGee <dan@archlinux.org>2011-02-08 16:28:24 +0100
commit942bb9e64a7ba11e5f2a0db374bcaa21868eceb6 (patch)
tree25c9c5dcfc1ed483ec180e1a60dc49aaa7eb3b4f /po/.gitignore
parentda3b93460258fd24e2535360586fea668fa055fb (diff)
downloadpacman-942bb9e64a7ba11e5f2a0db374bcaa21868eceb6.tar.gz
pacman-942bb9e64a7ba11e5f2a0db374bcaa21868eceb6.tar.xz
Skip diskspace checking for symlinks and directories in all cases
We did this in some but not all cases, assuming the 0 value coming out of libarchive would not be a problem. However, this does not work for "fake" filesystems such as rpc_pipefs, which reports a free block and total block count of zero. Fix this by not ever counting symlinks or directories, and adding a note explaining that if we someday do count directories, their size needs to be attributed to the proper place. This patch also includes a few cleanups/performance tweaks- avoid calling strlen() on the mountpoint directory string as much by storing this size in our mountpoint struct, and push the snprintf() call up to the calculate functions since we were already doing it here in the remove case. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'po/.gitignore')
0 files changed, 0 insertions, 0 deletions