aboutsummaryrefslogtreecommitdiff
path: root/libpwdgrp/pwd_grp.c
AgeCommit message (Collapse)Author
2007-06-18libpwdgrp/pwd_grp.c: allocate local storage on first call, not in bss. -1k bssDenis Vlasenko
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
2007-04-13style fixesDenis Vlasenko
2007-03-13Do not fail password check if shadow password does not exist -Denis Vlasenko
fall back to ordinary one Reduced usage of functions returning datain static buffers. (mostly passwd/group/shadow related): function old new delta correct_password 143 193 +50 sulogin_main 490 533 +43 adduser_main 732 774 +42 passwd_main 1875 1915 +40 addgroup_main 330 365 +35 bb_internal_getspnam 38 - -38 bb_internal_fgetpwent 38 - -38 bb_internal_fgetgrent 38 - -38 static.resultbuf 168 88 -80 static.buffer 1872 1104 -768 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 5/2 up/down: 210/-962) Total: -752 bytes
2006-12-30fixdep.c: avoit doing memcmp in most casesDenis Vlasenko
uidgid_get.c: add forgotten copyright notice pwd/grp/shadow: avoid collisions with libc names
2006-12-28fix build without shadow supportDenis Vlasenko
2006-10-05build system overhaulDenis Vlasenko
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-07-01More removal of "#if 0" content."Robert P. J. Day"
2006-06-20I broke allbareconfig with half-finished cleanups I'd forgotten weren't done.Rob Landley
Got both to a decent stopping point. (There's a lot more cleanup to do on ls.c but now is not the time...)
2006-06-18skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley
that and callers wind up typecasting it back.
2006-04-05- include proper headers.Bernhard Reutner-Fischer
2006-03-03Typo fixes brought to you by the letters a, l, and Robert P. Day.Rob Landley
2006-01-25just whitespaceTim Riker
2005-10-28- move GETXXKEY_R_FUNC into an internal helper file to allow for compilingBernhard Reutner-Fischer
with IMA.
2005-10-08Shaun Jackman pointed out that fgets_unlocked() and friends are gnu extensionsRob Landley
not in newlib, and also that all the _unlocked variants are kind of pointless in this context.
2004-07-15Replace the old and somewhat buggy pwd_grp stuff with the shinyEric Andersen
new stuff mjn3 wrote for uClibc