getpass and /dev/tty

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Apr 4 13:00:00 GMT 2012


Hi Dennis,

On Apr  4 10:58, Corinna Vinschen wrote:
> On Apr  4 08:23, Denis Excoffier wrote:
> > 
> > Hello!
> > 
> > Would it be possible that getpass() first reads on /dev/tty before
> > defaulting to stdin?
> 
> Yeah, that makes sense.  I'll rework the function to behave more like
> glibc's version of getpass.

would you mind to check the latest snapshot ASAP, if the getpass
function now works as expected for you, not only your testcase, but
also your real-life problem?


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list