pacman/src
Allan McRae 2ee1706a72 Do not add root prefix twice when checking database files
When checking .INSTALL and .CHANGELOG files in the mtree file, we need to find
the path they are stored in the local database. This was appending the root
prefix twice as alpm_option_get_dbpath already returns the absolute path to
the database.

While fixing that issue I added checks that the paths for the database files
were not longer than PATH_MAX.

Fixes FS#48563.

Signed-off-by: Allan McRae <allan@archlinux.org>
2016-03-28 17:16:27 +10:00
..
common Update copyright years for 2016 2016-01-04 13:27:08 +10:00
pacman Do not add root prefix twice when checking database files 2016-03-28 17:16:27 +10:00
util pacsort, introduce define for escape_char error code 2016-01-04 14:05:28 +10:00