Separate progress-reporting stream (was Re: bzr with bzr+ssh noisy and output muddled.)

Eric Siegerman lists08-bzr at davor.org
Wed Jun 17 17:21:45 BST 2009


On Wed, 2009-06-17 at 11:21 -0400, Eric Siegerman wrote:
> At startup, fdup() file descriptor 2 onto
> descriptor 3; then write all the progress reports (and any other
> unimportant verbiage that might be enabled) to #3.

Doh!  As described, this doesn't accomplish anything at all, because it
happens too late for user redirection to affect it.  One possible fix:
do the fdup() only if isatty(3).

  - Eric




More information about the bazaar mailing list