Re: [PATCH 1/9] Enable wt-status output to a given FILE pointer.
From: Kristian Høgsberg <hidden> Date: 2016-06-15 22:43:35
On Thu, 2007-09-06 at 17:27 +0100, Johannes Schindelin wrote:
Hi,
On Wed, 5 Sep 2007, Kristian Høgsberg wrote:
quoted
Still defaults to stdout, but you can now override wt_status.fp after
calling wt_status_prepare().
Would it not be easier to freopen(filename, "a", stdout)?
It's probably easier, but I think this is cleaner and the patch isn't
that big. I don't want to worry about the side effects of freopening
stdout...
Kristian