]> git.pond.sub.org Git - empserver/commit
client: Make get_password() not echo with POSIX && !HAVE_GETPASS
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 27 Dec 2020 10:48:52 +0000 (11:48 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 17 Jan 2021 20:24:28 +0000 (21:24 +0100)
commit53b2271d1dba59ca9fbe470e1349ecc85692bd78
treebdb1ed62dacb2be516115af2aec9c79a0040d2e1
parentea762c1f08981310cba20ac0242e156b40b2d7d0
client: Make get_password() not echo with POSIX && !HAVE_GETPASS

getpass() is traditional Unix, but has been withdrawn from POSIX.  We
provide a replacement in case it's missing.  The one for Windows
suppresses echo, like getpass() does.  Implement that for POSIX.  The
other differences to getpass() remain.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/client/getpass.c