"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Thomas Adam <thomas@xteddy.org>
Subject:
Re: fflush(stdout) after asking questions
To:
Omar Polo <op@omarpolo.com>
Cc:
Game of Trees <gameoftrees@openbsd.org>
Date:
Sun, 4 Sep 2022 17:41:14 +0100

Download raw body.

Thread
On Sun, 4 Sept 2022 at 17:36, Omar Polo <op@omarpolo.com> wrote:
>
> playing with got on alpine, i noticed that `got revert -p' doesn't
> show the prompt.  I'm assuming musl doesn't fflush implicitly on
> getline, which is what show_change assumes.
>
> ok?

Makes perfect sense to me.  I wonder if there's other missing fflush()
calls elsewhere?  I've been looking at "got log -p"'s performance on
muscl, so I'll bear this in mind!

Kindly,
Thomas