diff options
author | Dan McGee <dan@archlinux.org> | 2011-02-04 08:42:52 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-04 08:42:55 -0600 |
commit | 7467fb9e763d9895044791eb0407e58d2793f377 (patch) | |
tree | bf82f0af2e946e5200ce1860fdb29d4594e7efa2 /lib/libalpm/diskspace.c | |
parent | f89277536612ff8e204cefcb6ff7cca7079d6bd5 (diff) | |
download | pacman-7467fb9e763d9895044791eb0407e58d2793f377.tar.xz |
Ensure found files are actually files
We located files in a few places but didn't check if they were files or
directories. Ensure they are actually files using stat() and S_ISREG(); this
showed itself when trying to download to the directory name itself in
FS#22645.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/diskspace.c')
0 files changed, 0 insertions, 0 deletions