aboutsummaryrefslogtreecommitdiff
path: root/coreutils
AgeCommit message (Collapse)Author
2008-12-03libbb: introduce and use xgetpwnam. ~ -150 bytes.Denis Vlasenko
2008-12-02libbb: password/group function helpers rewritten by Tito:Denis Vlasenko
function old new delta xgetpwuid - 27 +27 uid2uname_utoa - 22 +22 gid2group_utoa - 22 +22 uid2uname - 18 +18 gid2group - 18 +18 buffer_fill_and_print 179 196 +17 print_user 12 24 +12 print_group 12 24 +12 get_cached 89 99 +10 ... print_common 134 120 -14 vlock_main 415 396 -19 logger_main 410 387 -23 crontab_main 642 609 -33 bb_getpwuid 42 - -42 bb_getgrgid 42 - -42 bb_getug 80 - -80 ------------------------------------------------------------------------------ (add/remove: 6/3 grow/shrink: 9/11 up/down: 187/-296) Total: -109 bytes
2008-11-25remove a few superfluous includesDenis Vlasenko
2008-11-25ash,hush: add TODO for rare build failureDenis Vlasenko
*: remove some redundant includes
2008-11-17id: do not abort build if we use internal password/group functions.Denis Vlasenko
2008-11-16id: abort the build of uclibc is less than 0.9.30Denis Vlasenko
2008-11-13stat: fix compile breakage (get_f_fsid() is used even if !FEATURE_STAT_FORMAT)Denis Vlasenko
2008-11-12seq: shrink by 10 bytesDenis Vlasenko
2008-11-12- add support for seq -s <separator>Bernhard Reutner-Fischer
2008-11-12- add seq -w support (Natanael Copa)Bernhard Reutner-Fischer
2008-11-11cksum, printenv: report errors via exitcodeDenis Vlasenko
function old new delta cksum_main 296 315 +19 printenv_main 74 86 +12
2008-11-11head: report file open errors with exitcode 1 (was happily returning 0)Denis Vlasenko
head_main 409 417 +8
2008-11-11expr: on error, exit with exitcode 2Denis Vlasenko
expr_main 101 110 +9
2008-11-11stat: make stat -f show filesystem "ID:" as coreutils doesDenis Vlasenko
print_statfs 358 370 +12
2008-11-11env: support -uVAR=VALDenis Vlasenko
function old new delta env_main 245 233 -12
2008-11-11du: fix "du /dir /dir" caseDenis Vlasenko
reset_ino_dev_hashtable - 84 +84 du 388 376 -12 du_main 327 301 -26 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 84/-38) Total: 46 bytes
2008-11-10libbb: add optionl support for SHA256/512 encrypted passwordsDenis Vlasenko
function old new delta sha_crypt - 2423 +2423 cryptpw_main 128 183 +55 to64 - 29 +29 pw_encrypt 974 1000 +26 str_rounds - 11 +11 login_main 1532 1541 +9 packed_usage 25215 25200 -15 __md5_to64 29 - -29 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 3/1 up/down: 2553/-44) Total: 2509 bytes
2008-11-10sha256,sha512: new applets. +4.9kbDenis Vlasenko
we will require sha256/512 code for new $5$ and $6$ style password hashes anyway, they are showing up already in people's /etc/passwd...
2008-11-06basename: fix error code. again. deja vu feeling...Denis Vlasenko
2008-11-05- commentary typo fix (tito)Bernhard Reutner-Fischer
2008-11-05- fix typo in print_user() (tito)Bernhard Reutner-Fischer
2008-10-29id: better wording in comments, no code changesDenis Vlasenko
2008-10-29id: coreutils compat by Tito + test scriptDenis Vlasenko
2008-10-20ash: fix NOEXEC mode - we were forgetting to pass environment!Denis Vlasenko
env: promote to NOEXEC hd: promote to NOEXEC, as hexdump is NOEXEC already
2008-09-25- update my name. No obj-code changes ;)Bernhard Reutner-Fischer
2008-09-25df: unsigned long needs %luDenis Vlasenko
2008-09-18id: fix "id <user>" case. Requires getgrouplist().Denis Vlasenko
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
2008-09-16setfont: support -m and -C, support -m TEXTUAL_MAP (by Vladimir)Denis Vlasenko
build system: fixlet for echo applet config function old new delta setfont_main 157 387 +230 ctoi - 75 +75 packed_usage 24921 24950 +29
2008-09-14id: unsigned long is excessive for option bitmaskDenis Vlasenko
2008-09-13id: code shrinkDenis Vlasenko
function old new delta id_main 494 462 -32
2008-09-12- implement id -G (Tito Ragusa)Bernhard Reutner-Fischer
2008-09-06install: shrink -D code. By Bernhard.Denis Vlasenko
function old new delta install_main 726 707 -19
2008-09-03kbd_mode: fix non-ASCII letters in commentsDenis Vlasenko
install: support -D
2008-08-29build system: echo and test features may be enabledDenis Vlasenko
even if these applets are enabled as ash builtins only testsuite: add some awk tests
2008-08-28df: add support for more options, add some coreutils 6.10 compat.Denis Vlasenko
by Bernhard Reutner-Fischer function old new delta df_main 664 795 +131 packed_usage 24812 24862 +50 make_human_readable_str 213 262 +49 static.ignored_mounts - 8 +8 static.unit_chars - 7 +7 static.zero_and_units 6 - -6 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 3/0 up/down: 245/-6) Total: 239 bytes
2008-08-27cksum: respect CONFIG_LFS=y. Adds 36 bytes in this case.Denis Vlasenko
2008-08-15cut: fix buffer overflow (bug 4544).Denis Vlasenko
2008-08-15install: fix long option not taking params (bug 4584)Denis Vlasenko
2008-07-30tr: fix yet another access past the end of a string (bug 4374)Denis Vlasenko
2008-07-28tr: fix "tr [=" case. Closes bug 4374.Denis Vlasenko
function old new delta expand 1701 1738 +37 tr_main 472 474 +2
2008-07-26tr: fix "access past the end of a string" bug 4354Denis Vlasenko
2008-07-25ash: dont allow e.g. exec <&10 to attach to stript's fd!Denis Vlasenko
function old new delta is_hidden_fd - 61 +61 redirect 1135 1164 +29 popstring 134 140 +6 printf_main 635 637 +2 evalvar 1374 1376 +2 echo_main 294 296 +2 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/0 up/down: 102/0) Total: 102 bytes
2008-07-22fix all cases of strcpy on overlapping strings.Denis Vlasenko
2008-07-22- wrap overlong lines (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer
- s/\. /. /g;# (me)
2008-07-22chown: do not use static dataDenis Vlasenko
function old new delta chown_main 160 182 +22 fileAction 750 744 -6 ugid 8 - -8
2008-07-22cut: stop using static data. This alone removed ~70 bytes of code.Denis Vlasenko
+ some optimizations function old new delta nlists 4 - -4 cut_lists 4 - -4 cut_main 1041 960 -81
2008-07-22cal: remove lone static data variable. -4 bytes. coreutilsDenis Vlasenko
is down to four applets with nonzero data+bss.
2008-07-21libbb: [x]fopen_for_{read,write} introduced and used.Denis Vlasenko
(by Valdimir) function old new delta config_open2 - 41 +41 config_read 507 542 +35 find_pair 169 187 +18 fopen_for_write - 14 +14 fopen_for_read - 14 +14 find_main 406 418 +12 xfopen_for_write - 10 +10 xfopen_for_read - 10 +10 popstring 134 140 +6 parse_inittab 396 401 +5 next_token 923 928 +5 pack_gzip 1659 1661 +2 bb__parsespent 117 119 +2 fallbackSort 1719 1717 -2 evalvar 1376 1374 -2 qrealloc 36 33 -3 ... ... ... ... singlemount 4579 4569 -10 process_stdin 443 433 -10 patch_main 1111 1101 -10 ifupdown_main 2175 2165 -10 file_action_grep 90 80 -10 uuidcache_init 649 637 -12 hush_main 797 785 -12 read_config 230 217 -13 dpkg_main 3835 3820 -15 read_line_input 3134 3110 -24 sysctl_main 232 203 -29 config_open 40 10 -30 WARN_BAD_LINE 44 - -44 login_main 1714 1575 -139 ------------------------------------------------------------------------------ (add/remove: 5/1 grow/shrink: 8/74 up/down: 174/-737) Total: -563 bytes
2008-07-21- first pass to unify/cleanup uid handling (-236b)Bernhard Reutner-Fischer
This needs further love, alot of love.. Tito?
2008-07-19test: fix parser to prefer binop over unop, as coreutils does.Denis Vlasenko
remove bogus workaround in main(). rename atrocious variables/functions. much expand testsuite. libbb: fix --help to not affect "test --help" function old new delta run_applet_no_and_exit 421 440 +19 nexpr 817 825 +8 static.no_op - 6 +6 test_main 397 257 -140 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 2/1 up/down: 104/-211) Total: -107 bytes