From: Bruno Haible Date: Mon, 19 May 2008 11:15:59 +0000 (+0200) Subject: Document limits of other implementations. X-Git-Tag: v0.1~7383 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=c2a78c90c3bd3190269086b9a972dd40ca34a5de;p=gnulib.git Document limits of other implementations. --- diff --git a/ChangeLog b/ChangeLog index e233aae21..b99c1d542 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,12 @@ +2008-05-19 Bruno Haible + + * doc/glibc-functions/getpass.texi: Document limits of other + implementations. + 2008-05-19 Simon Josefsson Bruno Haible - * doc/glibc-functions/getpass.texi: Document gnulib - implementation. + * doc/glibc-functions/getpass.texi: Document gnulib implementation. 2008-05-18 Bruno Haible diff --git a/doc/glibc-functions/getpass.texi b/doc/glibc-functions/getpass.texi index 0f2992da8..2bee6d74d 100644 --- a/doc/glibc-functions/getpass.texi +++ b/doc/glibc-functions/getpass.texi @@ -14,9 +14,9 @@ mingw, BeOS. Portability problems fixed by Gnulib module @code{getpass-gnu}: @itemize @item -The gnulib implementation return a password of arbitrary length read -from /dev/tty (or stdin), other implementations may truncate the -password to PASS_MAX or 8 characters. +The returned password is truncated to PASS_MAX characters on some platforms: +MacOS X 10.5 (128), FreeBSD 6.2 (128), NetBSD 3.0 (128), OpenBSD 4.0 (128), AIX 5.1 (32), HP-UX 11 (8), IRIX 6.5 (32), OSF/1 5.1 (80), Solaris 10 (8, even less than PATH_MAX), Cygwin (128). +The gnulib implementation returns the password untruncated. @end itemize Portability problems not fixed by Gnulib: