id: fix "id <user>" case. Requires getgrouplist().
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 18 Sep 2008 00:56:24 +0000 (00:56 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 18 Sep 2008 00:56:24 +0000 (00:56 -0000)
commit2228426512eabc05767b5abac69770e3ae9cd9bb
tree913718f56916075be130a9ea2290ff36664d4803
parent28f5619e842d4a4e03abe6f96d7f9fd5a70e223f
id: fix "id <user>" case. Requires getgrouplist().

function                                             old     new   delta
getgrouplist_internal                                  -     200    +200
id_main                                              462     539     +77
bb_internal_getgrouplist                               -      67     +67
bb__parsespent                                       119     117      -2
bb_internal_initgroups                               213      58    -155
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 1/2 up/down: 344/-157)          Total: 187 bytes
coreutils/id.c
libpwdgrp/pwd_grp.c