|
From: | Derek Robert Price |
Subject: | Re: [Bug-gnulib] Re: HP-UX 11 limits password length to 8 characters |
Date: | Thu, 31 Jul 2003 11:11:57 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
Bruno Haible wrote:
Paul Eggert wrote:Personally I'd just use my own replacement code. Also see: http://mail.gnu.org/archive/html/bug-inetutils/2001-02/msg00023.html where inetutils had a similar problem. I don't think they fixed it either.To solve this, I've now added a module 'getpass-gnu' to gnulib. It provides a GNU getpass() in all cases. Description: "getpass() function: read a password of arbitrary length from /dev/tty." Hope this helps.
Thanks. I've updated CVS to use the new API, though in this case I am not sure it was necessary. I had previously simply added getpass.c to cvslib_a_SOURCES in lib/Makefile.am and called gl_PREREQ_GETPASS directly from configure.in rather than gl_FUNC_GETPASS.
Regardless, the modules doc should be useful for some. Thanks, Derek -- *8^) Email: derek@ximbiot.com Get CVS support at <http://ximbiot.com>! -- Politics is supposed to be the second oldest profession but it bears a very close resemblance to the first.
[Prev in Thread] | Current Thread | [Next in Thread] |