changeset 10087:3e7833ffcecb

Document limits of other implementations.
author Bruno Haible <bruno@clisp.org>
date Mon, 19 May 2008 13:15:59 +0200
parents dfb0faac01ec
children 03b96a68253f
files ChangeLog doc/glibc-functions/getpass.texi
diffstat 2 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,12 @@
+2008-05-19  Bruno Haible  <bruno@clisp.org>
+
+	* doc/glibc-functions/getpass.texi: Document limits of other
+	implementations.
+
 2008-05-19  Simon Josefsson  <simon@josefsson.org>
             Bruno Haible <bruno@clisp.org>
 
-	* doc/glibc-functions/getpass.texi: Document gnulib
-	implementation.
+	* doc/glibc-functions/getpass.texi: Document gnulib implementation.
 
 2008-05-18  Bruno Haible  <bruno@clisp.org>
 
--- a/doc/glibc-functions/getpass.texi
+++ b/doc/glibc-functions/getpass.texi
@@ -14,9 +14,9 @@
 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: