summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/add.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-10-14 13:04:22 +0200
committerAllan McRae <allan@archlinux.org>2013-10-15 04:40:53 +0200
commite049bb8bd6bb3b8aacf371abde937d2270cfa451 (patch)
tree683f5a1376807dd26f5daadd2b7e1d2f5b04623b /lib/libalpm/add.h
parente7ad883ebe41a25a63f4349ea08d589ec48c3539 (diff)
downloadpacman-e049bb8bd6bb3b8aacf371abde937d2270cfa451.tar.gz
pacman-e049bb8bd6bb3b8aacf371abde937d2270cfa451.tar.xz
Ensure packages have a valid version
Currently you can manually create and then install a package with a version not containing a pkgrel. The created local database entry is invalid as the directory name can not be split by _alpm_splitname due to the assumtion of hyphens separating name-pkgver-pkgrel. Ensure the package has a valid version when it is loaded. Fixes FS#35514. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/add.h')
0 files changed, 0 insertions, 0 deletions