]> git.pond.sub.org Git - empserver/commit
client: Drop use of getpass()
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 27 Dec 2020 10:57:54 +0000 (11:57 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 17 Jan 2021 20:24:28 +0000 (21:24 +0100)
commitab938775349cd4c86f79a0f3fe6f9242f432e49e
tree215d22ac44d55a935146e041caea6120a302a94e
parent53b2271d1dba59ca9fbe470e1349ecc85692bd78
client: Drop use of getpass()

getpass() is traditional Unix, but has been withdrawn from POSIX.  We
still use it when it's available, and fall back to portable code only
when it's not.

The portable code behaves differently: it reads stdin instead of
/dev/tty, and in noncanonical mode.

Simplify things: always use the replacement.

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