Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/handle.c
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2008-02-07 14:58:23 +0100
committerChantry Xavier <shiningxc@gmail.com>2008-02-07 14:58:23 +0100
commit0c2206f542ce6df2606586d43f190cd5a423fb13 (patch)
treee771071518a2356c997c92fb41887e451b68797e /lib/libalpm/handle.c
parentb29838c8250125a22016c16180e941d059d55539 (diff)
libalpm/add.c : safety check for fixing FS#9235.
Fixes FS#9235. We already had the following case in extract_single_file : /* cases 1,2,3: couldn't stat an existing file, skip all backup checks */ But we actually only did a lstat here. And if lstat worked, we did a stat without checking. When lstat works and stat fails, it means we have a broken symlink, like in FS#9235. We can actually treat this case like a non-existing file. The broken symlink will then be simply overwritten. Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm/handle.c')
0 files changed, 0 insertions, 0 deletions