Handle SIGPIPE when unpack() extracts tar files through a pipe (bug #309001).
authorZac Medico <zmedico@gentoo.org>
Tue, 24 Aug 2010 00:57:48 +0000 (17:57 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 24 Aug 2010 00:57:48 +0000 (17:57 -0700)
commit0ab6f83070c9a32a24454053319c99559c2654ca
tree02691a5ce6da1bfeb67761571f46c47e2b4161a1
parent3359e0116b4e592b28ac0f24fed6a1e2eabe6bf6
Handle SIGPIPE when unpack() extracts tar files through a pipe (bug #309001).

When checking ${PIPESTATUS[@]} for extraction of tar files in unpack(),
use a new assert_sigpipe_ok() function which behaves the same as the
existing assert() function except that it tolerates pipe writers being
killed by SIGPIPE.
bin/ebuild.sh
bin/isolated-functions.sh
pym/_emerge/BinpkgExtractorAsync.py