summaryrefslogtreecommitdiff
path: root/lib/libalpm/add.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-11-25 16:02:47 -0500
committerAllan McRae <allan@archlinux.org>2012-12-14 12:35:34 +1000
commitc8417f3386155028015f7f9fc43f4c64a60acf4c (patch)
tree3fbe11be27ad567e7cd8d1062f88f52c7b5df703 /lib/libalpm/add.c
parent5a5e712c749edb8bca448f119769d8bbe381c348 (diff)
makepkg: normalize whitespace in $pkgdesc when writing .PKGINFO
Specifically, we shouldn't allow newlines in the pkgdesc field, as pacman will ignore the continuation and end the description prematurely as written to the local DB. Normalize ALL whitespace, replacing it with single whitespace characters. Fixes strange errors as seen by FS#32852. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/add.c')
0 files changed, 0 insertions, 0 deletions