summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/remove.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-02-04 15:42:52 +0100
committerDan McGee <dan@archlinux.org>2011-02-04 15:42:55 +0100
commit7467fb9e763d9895044791eb0407e58d2793f377 (patch)
treebf82f0af2e946e5200ce1860fdb29d4594e7efa2 /lib/libalpm/remove.c
parentf89277536612ff8e204cefcb6ff7cca7079d6bd5 (diff)
downloadpacman-7467fb9e763d9895044791eb0407e58d2793f377.tar.gz
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/remove.c')
0 files changed, 0 insertions, 0 deletions