redirect scriptlet stderr synchronously through alpm
commit0223a028e0835b6e09e2654e62ce5fd462370ffb
authorJonathan Conder <j@skurvy.no-ip.org>
Wed, 18 Aug 2010 12:07:18 +0000 (19 00:07 +1200)
committerDan McGee <dan@archlinux.org>
Fri, 27 Aug 2010 16:19:09 +0000 (27 11:19 -0500)
treea6a065ac479457537709fcaa37b1112d154896cb
parentd14a98db25c3dd1843510a1608064dda913ea230
redirect scriptlet stderr synchronously through alpm

Fixes FS#18770, and hopefully an occasional deadlock in my frontend as well.
For simplicity it redirects all scriptlet output through SCRIPTLET_INFO, and
all callbacks in the child process have been replaced for thread-safety.

Signed-off-by: Jonathan Conder <j@skurvy.no-ip.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/util.c