diff options
author | Dan McGee <dan@archlinux.org> | 2011-02-04 15:42:52 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-04 15:42:55 +0100 |
commit | 7467fb9e763d9895044791eb0407e58d2793f377 (patch) | |
tree | bf82f0af2e946e5200ce1860fdb29d4594e7efa2 /COPYING | |
parent | f89277536612ff8e204cefcb6ff7cca7079d6bd5 (diff) | |
download | pacman-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 'COPYING')
0 files changed, 0 insertions, 0 deletions