This is the mail archive of the
mailing list for the Cygwin project.
Re: getpass and /dev/tty
On Wed, Apr 04, 2012 at 02:59:24PM +0200, Corinna Vinschen wrote:
>> 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?
My real-life problem is not so far than the test case, in particular
i don't use the characters typed in. In any case, both work for me.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple