summaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* libbb: introduce and use xgetpwnam. ~ -150 bytes.Denis Vlasenko2008-12-031-3/+1
|
* libbb: password/group function helpers rewritten by Tito:Denis Vlasenko2008-12-022-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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
* remove a few superfluous includesDenis Vlasenko2008-11-251-1/+0
|
* ash,hush: add TODO for rare build failureDenis Vlasenko2008-11-252-2/+0
| | | | | *: remove some redundant includes
* id: do not abort build if we use internal password/group functions.Denis Vlasenko2008-11-171-0/+2
|
* id: abort the build of uclibc is less than 0.9.30Denis Vlasenko2008-11-161-0/+6
|
* stat: fix compile breakage (get_f_fsid() is used even if !FEATURE_STAT_FORMAT)Denis Vlasenko2008-11-131-14/+14
|
* seq: shrink by 10 bytesDenis Vlasenko2008-11-121-8/+9
|
* - add support for seq -s <separator>Bernhard Reutner-Fischer2008-11-121-4/+9
|
* - add seq -w support (Natanael Copa)Bernhard Reutner-Fischer2008-11-121-4/+11
|
* cksum, printenv: report errors via exitcodeDenis Vlasenko2008-11-112-3/+10
| | | | | | | function old new delta cksum_main 296 315 +19 printenv_main 74 86 +12
* head: report file open errors with exitcode 1 (was happily returning 0)Denis Vlasenko2008-11-111-4/+4
| | | | | head_main 409 417 +8
* expr: on error, exit with exitcode 2Denis Vlasenko2008-11-111-7/+4
| | | | | expr_main 101 110 +9
* stat: make stat -f show filesystem "ID:" as coreutils doesDenis Vlasenko2008-11-111-6/+21
| | | | | print_statfs 358 370 +12
* env: support -uVAR=VALDenis Vlasenko2008-11-111-8/+10
| | | | | | function old new delta env_main 245 233 -12
* du: fix "du /dir /dir" caseDenis Vlasenko2008-11-111-47/+35
| | | | | | | | | 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
* libbb: add optionl support for SHA256/512 encrypted passwordsDenis Vlasenko2008-11-101-0/+2
| | | | | | | | | | | | | | | 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
* sha256,sha512: new applets. +4.9kbDenis Vlasenko2008-11-102-9/+38
| | | | | | | 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...
* basename: fix error code. again. deja vu feeling...Denis Vlasenko2008-11-061-1/+2
|
* - commentary typo fix (tito)Bernhard Reutner-Fischer2008-11-051-1/+1
|
* - fix typo in print_user() (tito)Bernhard Reutner-Fischer2008-11-051-1/+1
|
* id: better wording in comments, no code changesDenis Vlasenko2008-10-291-6/+6
|
* id: coreutils compat by Tito + test scriptDenis Vlasenko2008-10-292-128/+406
|
* ash: fix NOEXEC mode - we were forgetting to pass environment!Denis Vlasenko2008-10-201-2/+2
| | | | | | env: promote to NOEXEC hd: promote to NOEXEC, as hexdump is NOEXEC already
* - update my name. No obj-code changes ;)Bernhard Reutner-Fischer2008-09-255-5/+5
|
* df: unsigned long needs %luDenis Vlasenko2008-09-251-1/+1
|
* id: fix "id <user>" case. Requires getgrouplist().Denis Vlasenko2008-09-181-10/+40
| | | | | | | | | | | | 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
* setfont: support -m and -C, support -m TEXTUAL_MAP (by Vladimir)Denis Vlasenko2008-09-161-1/+1
| | | | | | | | | | build system: fixlet for echo applet config function old new delta setfont_main 157 387 +230 ctoi - 75 +75 packed_usage 24921 24950 +29
* id: unsigned long is excessive for option bitmaskDenis Vlasenko2008-09-141-14/+8
|
* id: code shrinkDenis Vlasenko2008-09-131-18/+19
| | | | | | function old new delta id_main 494 462 -32
* - implement id -G (Tito Ragusa)Bernhard Reutner-Fischer2008-09-121-10/+37
|
* install: shrink -D code. By Bernhard.Denis Vlasenko2008-09-061-10/+7
| | | | | | function old new delta install_main 726 707 -19
* kbd_mode: fix non-ASCII letters in commentsDenis Vlasenko2008-09-031-27/+37
| | | | | install: support -D
* build system: echo and test features may be enabledDenis Vlasenko2008-08-291-2/+2
| | | | | | even if these applets are enabled as ash builtins only testsuite: add some awk tests
* df: add support for more options, add some coreutils 6.10 compat.Denis Vlasenko2008-08-282-38/+61
| | | | | | | | | | | | | | | 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
* cksum: respect CONFIG_LFS=y. Adds 36 bytes in this case.Denis Vlasenko2008-08-271-5/+13
|
* cut: fix buffer overflow (bug 4544).Denis Vlasenko2008-08-151-1/+1
|
* install: fix long option not taking params (bug 4584)Denis Vlasenko2008-08-151-3/+3
|
* tr: fix yet another access past the end of a string (bug 4374)Denis Vlasenko2008-07-301-3/+5
|
* tr: fix "tr [=" case. Closes bug 4374.Denis Vlasenko2008-07-281-0/+2
| | | | | | | function old new delta expand 1701 1738 +37 tr_main 472 474 +2
* tr: fix "access past the end of a string" bug 4354Denis Vlasenko2008-07-261-1/+1
|
* ash: dont allow e.g. exec <&10 to attach to stript's fd!Denis Vlasenko2008-07-252-6/+12
| | | | | | | | | | | | | 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
* fix all cases of strcpy on overlapping strings.Denis Vlasenko2008-07-221-1/+1
|
* - wrap overlong lines (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2008-07-221-9/+10
| | | | - s/\. /. /g;# (me)
* chown: do not use static dataDenis Vlasenko2008-07-221-20/+30
| | | | | | | | function old new delta chown_main 160 182 +22 fileAction 750 744 -6 ugid 8 - -8
* cut: stop using static data. This alone removed ~70 bytes of code.Denis Vlasenko2008-07-221-23/+30
| | | | | | | | | | + some optimizations function old new delta nlists 4 - -4 cut_lists 4 - -4 cut_main 1041 960 -81
* cal: remove lone static data variable. -4 bytes. coreutilsDenis Vlasenko2008-07-221-3/+5
| | | | | is down to four applets with nonzero data+bss.
* libbb: [x]fopen_for_{read,write} introduced and used.Denis Vlasenko2008-07-213-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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
* - first pass to unify/cleanup uid handling (-236b)Bernhard Reutner-Fischer2008-07-211-2/+2
| | | | This needs further love, alot of love.. Tito?
* test: fix parser to prefer binop over unop, as coreutils does.Denis Vlasenko2008-07-191-60/+193
| | | | | | | | | | | | | | | 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