diff options
| author | Martin Pool <mbp@samba.org> | 2001-08-29 07:23:30 +0000 |
|---|---|---|
| committer | Martin Pool <mbp@samba.org> | 2001-08-29 07:23:30 +0000 |
| commit | 64bd756832d93c0767e72a3432fda29b30d69405 (patch) | |
| tree | 7eac385aea9c01463ce51b857fea952e038d0845 /authenticate.c | |
| parent | 8642efd0d6bb172c5fed17d545afa615148cfe6b (diff) | |
| download | android_external_rsync-64bd756832d93c0767e72a3432fda29b30d69405.tar.gz android_external_rsync-64bd756832d93c0767e72a3432fda29b30d69405.tar.bz2 android_external_rsync-64bd756832d93c0767e72a3432fda29b30d69405.zip | |
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.
Diffstat (limited to 'authenticate.c')
| -rw-r--r-- | authenticate.c | 3 |
1 files changed, 3 insertions, 0 deletions
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: "); } |
