]> granicus.if.org Git - sudo/commit
Make EOF handling while reading the password prompt more like getpass(3).
authorTodd C. Miller <Todd.Miller@sudo.ws>
Tue, 9 Oct 2018 20:20:13 +0000 (14:20 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Tue, 9 Oct 2018 20:20:13 +0000 (14:20 -0600)
commit9e269e0acdc979ffcbf059e525923ce9366c4a69
treead5a9126d5d92ce75468220f1f35233ce497eab2
parent7b395aad890d3ecc644428577a051e4dfc716063
Make EOF handling while reading the password prompt more like getpass(3).
We now return the password as long as at least one character has
been read.  Previously, EOF at the password prompt was treated as
if nothing was entered.
doc/sudo.cat
doc/sudo.man.in
doc/sudo.mdoc.in
src/tgetpass.c