Denis Vlasenko
|
87468857f6
|
style fixes
|
2007-04-13 23:22:00 +00:00 |
|
Denis Vlasenko
|
5df955fce2
|
Do not fail password check if shadow password does not exist -
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
|
2007-03-13 13:01:14 +00:00 |
|
Denis Vlasenko
|
cb04ff5c68
|
fixdep.c: avoit doing memcmp in most cases
uidgid_get.c: add forgotten copyright notice
pwd/grp/shadow: avoid collisions with libc names
|
2006-12-30 21:11:57 +00:00 |
|
Denis Vlasenko
|
7fa0fcafca
|
fix build without shadow support
|
2006-12-28 21:33:30 +00:00 |
|
Denis Vlasenko
|
7d219aab70
|
build system overhaul
|
2006-10-05 10:17:08 +00:00 |
|
"Robert P. J. Day"
|
63fc1a9e08
|
Standardize on the vi editing directives being on the first line.
|
2006-07-02 19:47:05 +00:00 |
|
"Robert P. J. Day"
|
edd9ca5743
|
More removal of "#if 0" content.
|
2006-07-01 14:52:12 +00:00 |
|
Rob Landley
|
2b8a05a775
|
I broke allbareconfig with half-finished cleanups I'd forgotten weren't done.
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-20 17:43:01 +00:00 |
|
Rob Landley
|
ea224be6aa
|
skip_whitespace() shouldn't claim its return value is const, it doesn't know
that and callers wind up typecasting it back.
|
2006-06-18 20:20:07 +00:00 |
|
Bernhard Reutner-Fischer
|
fa939aae81
|
- include proper headers.
|
2006-04-05 16:21:37 +00:00 |
|
Rob Landley
|
06ec8cff83
|
Typo fixes brought to you by the letters a, l, and Robert P. Day.
|
2006-03-03 19:02:50 +00:00 |
|
Tim Riker
|
c1ef7bdd8d
|
just whitespace
|
2006-01-25 00:08:53 +00:00 |
|
Bernhard Reutner-Fischer
|
30c7de068b
|
- move GETXXKEY_R_FUNC into an internal helper file to allow for compiling
with IMA.
|
2005-10-28 11:21:40 +00:00 |
|
Rob Landley
|
25413bfe00
|
Shaun Jackman pointed out that fgets_unlocked() and friends are gnu extensions
not in newlib, and also that all the _unlocked variants are kind of pointless
in this context.
|
2005-10-08 02:23:22 +00:00 |
|
Eric Andersen
|
9615a08218
|
Replace the old and somewhat buggy pwd_grp stuff with the shiny
new stuff mjn3 wrote for uClibc
|
2004-07-15 12:53:49 +00:00 |
|