]> git.ipfire.org Git - thirdparty/util-linux.git/commit
chfn, chsh: use readline(3) to receive user input
authorSami Kerola <kerolasa@iki.fi>
Sun, 23 Apr 2017 17:51:51 +0000 (18:51 +0100)
committerSami Kerola <kerolasa@iki.fi>
Tue, 2 May 2017 22:22:05 +0000 (23:22 +0100)
commite41ae450937e51d6016ba6a43f0559efdc09f4e2
tree4727e6b7af11f29ed9e4c159ca9baecdc583e433
parent0e1fa6b63a0ced0e4f17fb95788fa6d0e7f4c87c
chfn, chsh: use readline(3) to receive user input

The readline offers editing capabilities while the user is entering the
line, unlike fgets(3) and getline(3) that were used earlier.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/Makemodule.am
login-utils/chfn.c
login-utils/chsh.c