Flush stdout, stderr before forking. From Richard Purdie. Thanks!
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Feb 2010 23:10:02 +0000 (23:10 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Feb 2010 23:10:02 +0000 (23:10 +0000)
commitdbf9c6748a2c7eb32f7a61ea2b393d32ea334c8b
treed49d3341ab1ab291a8b1806528954ce079843a34
parent195000335cbba83deeabbcd25ce9627cb3e650f6
Flush stdout, stderr before forking. From Richard Purdie. Thanks!

Patch to remove "duplicate" bits of logs from opkg output, which
massively simplifies do_rootfs logs. The reason is we get unflushed
data passed to the children and duplicated.

RP - 26/1/10

git-svn-id: http://opkg.googlecode.com/svn/trunk@522 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
libbb/gz_open.c