On Thu, Mar 13, 2008 at 10:11 PM, Johannes Sixt <j.sixt@xxxxxxxxxxxxx> wrote: > Ping Yin schrieb: > > > wt_status_print_changed(s); > > + // must flush s->fp since following call will write to s->fp in a child process > > + fflush(s->fp); > > + wt_status_print_submodule_summary(s); > > wt_status_print_untracked(s); > > But then we don't need the fflush() here. Right? > You are right. diff --git a/wt-status.c b/wt-status.c index 2f47e36..468c14c 100644 --- a/wt-status.c +++ b/wt-status.c @@ -352,8 +352,6 @@ void wt_status_print(struct wt_status *s) } wt_status_print_changed(s); - // must flush s->fp since following call will write to s->fp in a child process - fflush(s->fp); wt_status_print_submodule_summary(s); wt_status_print_untracked(s) -- Ping Yin -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html