From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31328 invoked by alias); 4 Apr 2012 13:00:05 -0000 Received: (qmail 31045 invoked by uid 22791); 4 Apr 2012 12:59:44 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Wed, 04 Apr 2012 12:59:29 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id A13762C006E; Wed, 4 Apr 2012 14:59:24 +0200 (CEST) Date: Wed, 04 Apr 2012 13:00:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: getpass and /dev/tty Message-ID: <20120404125924.GA28256@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20120404062329.GA3700@qp9482> <20120404085806.GY8014@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20120404085806.GY8014@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-04/txt/msg00134.txt.bz2 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