]> git.ipfire.org Git - thirdparty/util-linux.git/commit
chsh: rewrite function interacting with user to get path to new shell
authorSami Kerola <kerolasa@iki.fi>
Fri, 19 Dec 2014 19:28:19 +0000 (19:28 +0000)
committerSami Kerola <kerolasa@iki.fi>
Mon, 5 Jan 2015 22:52:51 +0000 (22:52 +0000)
commite323df25f52018a8adaa5aeaca48c22265f8d637
tree912c72325ad40596b494a9d23c2636f45d0c8ca3
parent68b24d53e15d16c929d2dab02ddf35082910bcc0
chsh: rewrite function interacting with user to get path to new shell

Rename prompt() to ask_new_shell().  Remove fixed size buffer and
allocate path to new shell, that should make Hurd people happy.  Use
strutils.h for white space trimming.

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