From c2a78c90c3bd3190269086b9a972dd40ca34a5de Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 19 May 2008 13:15:59 +0200 Subject: [PATCH] Document limits of other implementations. --- ChangeLog | 8 ++++++-- doc/glibc-functions/getpass.texi | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) 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: -- 2.11.0