[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Flush stdout more often

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2006-03-09 09:18:16 CET

Vincent Lefevre writes:
> On 2006-03-08 08:27:29 +0100, Stefan Haller wrote:
> > OK, in that case I see two possibilities:
> >
> > - add the flushing to libsvn_client/diff.c in the hope that it is the
> > appropriate thing for all clients, not just the svn command line client
> > (which I tend to think is true; at least I can't imagine that it would
> > hurt anybody); or
>
> Yes, there could even be some benefits. In general, it is better to
> flush if one knows that the following output won't be sent before
> some time.
>

No, no standard stream manipulation in libsvn_client, please. The
solution here would be to add a notification call (which could be
useful for GUI clients anyway). The cmdline client could just fflush
stdout. (Notification doesn't necesarily mean "print something to the
user").

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 9 13:14:23 2006

This is an archived mail posted to the Subversion Dev mailing list.