[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getpass documentation
From: |
Simon Josefsson |
Subject: |
Re: getpass documentation |
Date: |
Fri, 16 May 2008 13:29:42 +0200 |
User-agent: |
Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) |
Simon Josefsson <address@hidden> writes:
> I noticed that a significant difference between other getpass
> implementations and glibc/gnulib's is that the latter allocate the
> output buffer.
Sorry, that is false: I just now noticed the 'static' modified in the
getpass.c code.... This makes it slightly more difficult to use if you
want to confirm the password entered (you'll need to strdup it).
Updated documentation patch below.
/Simon
diff --git a/doc/glibc-functions/getpass.texi b/doc/glibc-functions/getpass.texi
index b805cf5..d842283 100644
--- a/doc/glibc-functions/getpass.texi
+++ b/doc/glibc-functions/getpass.texi
@@ -6,6 +6,9 @@ Gnulib module: ---
Portability problems fixed by Gnulib:
@itemize
address@hidden
+This implementation returns password of arbitrary length, other
+implementations truncate it to PASS_MAX or 8 characters.
@end itemize
Portability problems not fixed by Gnulib:
- Re: getpass documentation, (continued)
- Re: getpass documentation, Bruno Haible, 2008/05/18
- Re: getpass documentation, Simon Josefsson, 2008/05/19
- Re: getpass documentation, Bruno Haible, 2008/05/19
- Re: getpass documentation, Jim Meyering, 2008/05/19
- Re: getpass documentation, Simon Josefsson, 2008/05/19
Re: getpass documentation,
Simon Josefsson <=