libbb: switch bb_ask_noecho() to "mallocing" string return API
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 7 Apr 2018 13:50:30 +0000 (15:50 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 7 Apr 2018 13:50:30 +0000 (15:50 +0200)
commit17058a06c4333fc0c492c168c8a971ebd0fd5a5a
treea32133b2e5c18be65796283177551f9bcd7e49bb
parentbae8fc4436f9aeb43ef0aaccd1c9b1b35b5a4617
libbb: switch bb_ask_noecho() to "mallocing" string return API

function                                             old     new   delta
bb_ask_noecho                                        313     330     +17
get_cred_or_die                                      125     115     -10
passwd_main                                          995     958     -37
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 17/-47)            Total: -30 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
libbb/bb_askpass.c
loginutils/cryptpw.c
loginutils/passwd.c
mailutils/mail.c