]> git.saurik.com Git - apt.git/commit
ensure generation of valid EDSP error stanzas
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 29 Dec 2016 10:20:18 +0000 (11:20 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 31 Dec 2016 01:29:20 +0000 (02:29 +0100)
commit0161280405fe5aa256dc9df6a56106dd3a1a6f38
tree5ebd9f6acba147639e345c1bb63cc679cdc35620
parent48c1ae9c85c2b2b529b3c0ba80da3927351f9395
ensure generation of valid EDSP error stanzas

The crude way of preparing a message to be a multiline value failed at
generation valid deb822 in case the error message ended with a new line
like the resolving errors from apt do. apt itself can parse these, but
other tools like grep-dctrl choke on it, so be nice and print valid.

Reported-By: Johannes 'josch' Schauer on IRC
apt-pkg/edsp.cc
test/integration/test-external-dependency-solver-protocol