libpwdgrp/pwd_grp.c: allocate local storage on first call, not in bss. -1k bss
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 18 Jun 2007 10:08:27 +0000 (10:08 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 18 Jun 2007 10:08:27 +0000 (10:08 -0000)
commit2c91efb7c24da6370810991459ae360029022250
treee19858ed06964fc51dbd95b8076ed4cf6e74f338
parent7679145cfa61e41099645bdeecb6a8c2743c6772
libpwdgrp/pwd_grp.c: allocate local storage on first call, not in bss. -1k bss

function                                             old     new   delta
get_S                                                  -      31     +31
bb_internal_getpwnam                                  38      44      +6
bb_internal_getgrnam                                  38      44      +6
bb_internal_getgrgid                                  38      44      +6
ptr_to_statics                                         -       4      +4
static.resultbuf                                      88       -     -88
static.buffer                                       1024       -   -1024
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 3/0 up/down: 53/-1112)        Total: -1059 bytes
libpwdgrp/pwd_grp.c