diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2008-01-06 10:59:41 +0100 |
---|---|---|
committer | Chantry Xavier <shiningxc@gmail.com> | 2008-01-06 10:59:41 +0100 |
commit | a71f4c4c6a7775503b29ab856f8a5ce2801f2967 (patch) | |
tree | c434e2d5aa23db73330c083758b722ed36e89cc6 /COPYING | |
parent | a27d7f6071969623362785df50546cf48e8f1d2e (diff) | |
download | pacman-a71f4c4c6a7775503b29ab856f8a5ce2801f2967.tar.xz |
conflict.c : fix for FS#8156, detect conflict between symlink and dir.
The previous fileconflict check (package vs filesystem) skipped the conflict
when the file on the filesystem was a directory or a symlink to a directory,
no matter what the file in the package was.
Now, the conflict will only be skipped if the file in the package is a
directory (so compatible with a dir or a dir symlink on the filesystem).
So in the case of 8156 (new fileconflict003 pactest for this case), instead
of silently ignoring the extraction of the test symlink, pacman will now
fail because of a file conflict between the test symlink in the pkg2 package
and the test directory on the filesystem.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions