summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm_list.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-02-04 08:42:52 -0600
committerDan McGee <dan@archlinux.org>2011-02-04 08:42:55 -0600
commit7467fb9e763d9895044791eb0407e58d2793f377 (patch)
treebf82f0af2e946e5200ce1860fdb29d4594e7efa2 /lib/libalpm/alpm_list.c
parentf89277536612ff8e204cefcb6ff7cca7079d6bd5 (diff)
downloadpacman-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/alpm_list.c')
0 files changed, 0 insertions, 0 deletions