Re: [Toybox] [PATCH] Add fflush to lib/password; remove print from stty

2020-09-16 Thread enh via Toybox
I think I added that logging because that's what the "real" atty outputs. On Wed, Sep 16, 2020, 08:02 Chris Sarra via Toybox wrote: > Hey Rob, > I removed that xprintf in stty from our copy a long time ago to get rid > of a log we didn't really need, but that change can be ignored if others >

Re: [Toybox] [PATCH] Add fflush to lib/password; remove print from stty

2020-09-16 Thread Chris Sarra via Toybox
Hey Rob, I removed that xprintf in stty from our copy a long time ago to get rid of a log we didn't really need, but that change can be ignored if others find it useful. Thanks, +Chris On Wed, Sep 16, 2020 at 1:27 AM Rob Landley wrote: > > > On 9/15/20 11:39 AM, Chris Sarra via Toybox wrote:

Re: [Toybox] [PATCH] Add fflush to lib/password; remove print from stty

2020-09-16 Thread Rob Landley
On 9/15/20 11:39 AM, Chris Sarra via Toybox wrote: > toybox logins were displaying the "password:" prompt after > the user entered a password. This patch fixes the issue so the > password prompt shows *before* password is entered. > --- > lib/password.c | 1 + > toys/pending/stty.c | 2 +-

[Toybox] [PATCH] Add fflush to lib/password; remove print from stty

2020-09-15 Thread Chris Sarra via Toybox
toybox logins were displaying the "password:" prompt after the user entered a password. This patch fixes the issue so the password prompt shows *before* password is entered. --- lib/password.c | 1 + toys/pending/stty.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git