pacman/test
Andrew Gregory 16b91f798f unlink_file: strip trailing slashes
If the user replaces a directory with a symlink, libalpm would get
confused because the trailing slash causes system calls to resolve the
symlink.  This leads to errors and a misleading message during upgrades.
Even though libalpm does not support this, it should not be giving
misleading errors.

Also adds an overflow check.

Fixes FS#51377

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
2017-04-16 19:41:35 -04:00
..
pacman unlink_file: strip trailing slashes 2017-04-16 19:41:35 -04:00
scripts makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
util Update copyright years 2017-01-04 13:59:14 +10:00
.gitignore Push down testing .gitignore entries 2014-01-06 14:38:50 +10:00
tap.sh use tap.sh for bash tests 2014-12-28 13:06:28 +10:00