]> git.saurik.com Git - apt.git/commit
remove needless fork() in apt-get source
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 25 Nov 2016 15:23:02 +0000 (16:23 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 16 Dec 2016 12:50:00 +0000 (13:50 +0100)
commitfc336f09356c1db63094e377a65033d5ec00b983
tree444ae80e74ff68386b3503ccc9942f592ae46725
parent58ebb3017baf46e33a9bb2c1779d6daede27d108
remove needless fork() in apt-get source

We are calling system() in this code paths, so all we do here is having
a single child performing the action while the parent waits for it to
finish… with the added strangeness of not having our usual error message
collection and giving up after first failure even if told to act on
multiple packages.
apt-private/private-source.cc