]> 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>
Sat, 23 Jan 2021 06:08:03 +0000 (07:08 +0100)
commit8e00a618125b0ff0a86d927c78da8061fe596402
tree13d471a4f7a633de26554ab012173c4b2c9aeb59
parent54b1e7e167fd594d39ff91fd78e34cb8b411162b
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