libpwdgrp: use getpwent() instead of getpwent_r()
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 7 Feb 2015 20:21:02 +0000 (21:21 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 7 Feb 2015 20:21:02 +0000 (21:21 +0100)
commit23cfaab47de7392c1ba7d601a05fb36da3629b28
tree228cbefac14b7e60edda2e9314a30bfd43a7e5c5
parent68c048fb23bd8b0831bbd02ec66900b12390cf19
libpwdgrp: use getpwent() instead of getpwent_r()

function                                             old     new   delta
massage_data_for_non_r_func                            -      90     +90
bb_internal_getpwent                                   -      69     +69
getXXnam_r                                            94     162     +68
fill_bounds                                          131     128      -3
deluser_main                                         355     310     -45
complete_username                                    123      78     -45
getXXnam                                             163      90     -73
massage_data_for_r_func                              103       -    -103
bb_internal_getpwent_r                               121       -    -121
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 1/5 up/down: 227/-407)         Total: -163 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/pwd_.h
libbb/lineedit.c
libpwdgrp/pwd_grp.c
loginutils/deluser.c