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
|
bf66fbc8e2
|
introduce LONE_CHAR (optimized strcmp with one-char string)
|
2006-12-21 13:23:14 +00:00 |
|
Denis Vlasenko
|
a36a676923
|
correct_password: undo whitespace damage.
vlock + correct_password: fix incorrect line breaks in messages.
|
2006-09-23 13:11:49 +00:00 |
|
Rob Landley
|
a389651115
|
Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytes
as the old optimization did (actually does slightly better under gcc 4.0), and
simplifies the code.
|
2006-05-07 20:20:34 +00:00 |
|
Tim Riker
|
c1ef7bdd8d
|
just whitespace
|
2006-01-25 00:08:53 +00:00 |
|
Rob Landley
|
3d1bbf0a5f
|
Minor cosmetic fix from Tito.
|
2006-01-09 01:07:24 +00:00 |
|
Glenn L McGrath
|
29de86314a
|
Remove this error message at Vodz request, it was misleading.
|
2004-09-24 02:36:44 +00:00 |
|
Eric Andersen
|
6f9a7783ce
|
Do not use getpass(3)
|
2004-05-01 01:27:30 +00:00 |
|
Eric Andersen
|
c7bda1ce65
|
Remove trailing whitespace. Update copyright to include 2004.
|
2004-03-15 08:29:22 +00:00 |
|
Manuel Novoa III
|
cad5364599
|
Major coreutils update.
|
2003-03-19 09:13:01 +00:00 |
|
Eric Andersen
|
27f64e1f4e
|
Port over the last of the tinylogin applets
-Erik
|
2002-06-23 04:24:25 +00:00 |
|