]> git.pond.sub.org Git - empserver/commit - configure.ac
Replace missing getpass()
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 10 Apr 2009 12:57:13 +0000 (14:57 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 10 Apr 2009 17:09:57 +0000 (19:09 +0200)
commit8c3b8d107dab6e70cc76261059a532e211eeb3f5
tree90d3e1eb1d624294064d26ab538d398bba1807ab
parentb65395d6f41c57a95af2197750339194e441ed55
Replace missing getpass()

getpass() is traditional Unix, but has been withdrawn from POSIX.  As
such, it may be missing.  Check for that, and provide ersatz.  It's
not a real replacement, because it doesn't do the special magic
getpass() is supposed to do: read from /dev/tty without echo.

This bypasses our existing getpass() for Windows.  In contrast to the
portable getpass(), the Windows one tries to turn off echo, but that
doesn't work for me (MinGW & Wine).  Remove it.
configure.ac
src/client/configure.ac
src/client/login.c
src/client/sysdep_w32.c
src/client/sysdep_w32.h