Bug #336644 - Make ebuild-ipc.py use array.fromfile() to read pickles
authorZac Medico <zmedico@gentoo.org>
Fri, 10 Sep 2010 04:51:37 +0000 (21:51 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 10 Sep 2010 04:51:37 +0000 (21:51 -0700)
commit26434ee1b77dbff8f1904dd12204a93e87c8b6d3
tree859cc85575ca4e6e7a7d7711ec56ee96a8b1e5d9
parent34cd7af0911547d0d58b76f0309e744f6184da78
Bug #336644 - Make ebuild-ipc.py use array.fromfile() to read pickles
in single atomic non-blocking read() calls, similar to how
AbstractPollTask._read_buf() does it. If the read fails, exit with
status 2 so that best_version() and has_version() can detect the
error and die when necessary.
bin/ebuild-ipc.py
bin/ebuild.sh