This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.
Thank you.

Denis Excoffier.

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]