From 64bd756832d93c0767e72a3432fda29b30d69405 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Wed, 29 Aug 2001 07:23:30 +0000 Subject: [PATCH] Add comment: cyeoh says that getpass is deprecated, because it may return a truncated password on some systems, and it is not in the LSB. --- authenticate.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/authenticate.c b/authenticate.c index 40582201..2b981195 100644 --- a/authenticate.c +++ b/authenticate.c @@ -272,6 +272,9 @@ void auth_client(int fd, char *user, char *challenge) if (!user || !*user) return; if (!(pass=getpassf(password_file)) && !(pass=getenv("RSYNC_PASSWORD"))) { + /* XXX: cyeoh says that getpass is deprecated, because + it may return a truncated password on some systems, + and it is not in the LSB. */ pass = getpass("Password: "); } -- 2.34.1