summaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* stty: fix mishandling of 'control' keywords (Ralf Friedl ↵Denis Vlasenko2008-01-271-20/+4
| | | | <Ralf.Friedl@online.de>)
* tac: handle NULs properly. +145 bytesDenis Vlasenko2008-01-091-11/+35
|
* whitespace fixesDenis Vlasenko2008-01-071-3/+3
|
* tac: *really* add tac.c nowDenis Vlasenko2008-01-071-0/+68
|
* tac: new applet. ~240 bytes.Denis Vlasenko2008-01-062-0/+7
| | | | | | | Copyright (C) 2003 Yang Xiaopeng <yxp at hanwang.com.cn> Copyright (C) 2007 Natanael Copa <natanael.copa@gmail.com> Copyright (C) 2007 Tito Ragusa <farmatito@tiscali.it>
* nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)Denis Vlasenko2007-12-242-2/+2
| | | | | | | | | | | | *: whitespace fixes function old new delta prepend_new_eth_table - 304 +304 nameif_main 620 684 +64 cc_macaddr 51 - -51 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 368/-51) Total: 317 bytes
* od: reduce data/bss usage (code size went down too)Denis Vlasenko2007-12-241-41/+30
|
* dd: fix a bug where we don't report write errorsDenis Vlasenko2007-12-021-19/+22
| | | | | | | | | | | testsuite: small cleanup full_write_or_warn 38 40 +2 write_and_stats 66 67 +1 dd_main 1358 1335 -23 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 3/-23) Total: -20 bytes
* test: stop using lots of bss.Denis Vlasenko2007-11-301-28/+64
| | | | | | | | | | | | | | | | | | | | | | | function old new delta test_main 425 456 +31 t_lex 69 73 +4 syntax 100 104 +4 ptr_to_statics 8 12 +4 t_wp_op 4 - -4 t_wp 4 - -4 ngroups 4 - -4 group_array 4 - -4 binop 590 585 -5 oexpr 104 97 -7 aexpr 101 94 -7 nexpr 831 820 -11 leaving 156 - -156 ------------------------------------------------------------------------------ (add/remove: 0/5 grow/shrink: 4/4 up/down: 43/-202) Total: -159 bytes text data bss dec hex filename 775098 929 9084 785111 bfad7 busybox_old 775107 933 8908 784948 bfa34 busybox_unstripped
* touch: accept and ignore -fDenis Vlasenko2007-11-281-1/+2
|
* stty: reorganize data tables - save 0.5kDenis Vlasenko2007-11-241-151/+376
| | | | | | | | | | | | | | | | | | | | | | function old new delta mode_name - 496 +496 control_name - 91 +91 stty_main 1235 1255 +20 find_mode 45 63 +18 find_control 45 63 +18 do_display 482 493 +11 wrapf 165 166 +1 set_mode 761 759 -2 max_col 4 - -4 device_name 4 - -4 control_info 153 34 -119 mode_info 1700 680 -1020 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 5/3 up/down: 655/-1149) Total: -494 bytes text data bss dec hex filename 777037 937 9100 787074 c0282 busybox_old 776551 929 9100 786580 c0094 busybox_unstripped
* remove echo_main -> bb_echo indirectionDenis Vlasenko2007-11-241-12/+8
|
* cut: add proper stdout error handling, fix "-" handling;Denis Vlasenko2007-11-231-39/+37
| | | | | modest code shrink
* ash: fix bug where redirection of closed fd was leaving it open afterwards.Denis Vlasenko2007-11-221-2/+139
| | | | | | | | | | | | | | | | redirect 983 1024 +41 bb_echo 276 301 +25 popredir 118 132 +14 evalcommand 1163 1176 +13 bbunpack 358 366 +8 echocmd 13 5 -8 echo_main 13 5 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/2 up/down: 101/-16) Total: 85 bytes text data bss dec hex filename 774999 962 9236 785197 bfb2d busybox_old 775084 962 9236 785282 bfb82 busybox_unstripped
* stty: mark variable as staticDenis Vlasenko2007-11-181-1/+1
|
* - use standard-imposed constants some moreBernhard Reutner-Fischer2007-11-164-5/+5
|
* - remove most of the forward declarations. No obj-code changes.Bernhard Reutner-Fischer2007-11-161-244/+241
|
* - add note about SUSv3 missing options.Bernhard Reutner-Fischer2007-11-161-1/+2
|
* who: add -a (by Tito)Denis Vlasenko2007-11-161-4/+4
|
* df: add -aDenis Vlasenko2007-11-151-8/+14
| | | | | | | | | | | | df: don't special case rootfs and /dev/root function old new delta df_main 746 684 -62 find_block_device 111 - -111 find_block_device_in_dir 243 - -243 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 0/1 up/down: 0/-416) Total: -416 bytes
* df: add -i (conditional on CONFIG)Denis Vlasenko2007-11-152-4/+29
| | | | | uasge: trim a bit
* tr: more of code shrink (getopt32-ification)Denis Vlasenko2007-11-131-30/+18
| | | | | | | | runtest: cleanup. Method of getting $applets was truly bizarre function old new delta tr_main 655 527 -128
* tr: better comments, small code shrinkDenis Vlasenko2007-11-131-47/+60
| | | | | | | function old new delta expand 2232 2230 -2 tr_main 677 655 -22
* tr: properly detect read errors (Fernando Silveira <fsilveira@gmail.com>)Denis Vlasenko2007-11-131-3/+5
| | | | | | | | | readprofile: use xwrite function old new delta tr_main 679 677 -2 readprofile_main 1964 1944 -20
* who: code shrink by Tito <farmatito@tiscali.it>Denis Vlasenko2007-11-131-3/+1
| | | | | | function old new delta who_main 271 259 -12
* who: fix wrong date/time field sizeDenis Vlasenko2007-11-111-2/+3
|
* readlink: realpath requires PATH_MAX, bb_common_bufsiz1 can be too smallDenis Vlasenko2007-11-101-2/+2
| | | | | umount: don't actually need char[2 * PATH_MAX] for realpath
* fbset: fix buglet where we were using wrong pointerDenis Vlasenko2007-11-061-15/+21
| | | | | | readahead: stop using stdio.h *: style fixes
* fixes revealed by randomconfig runDenis Vlasenko2007-10-161-1/+1
|
* stty: incorporate strings into struct instead of keeping pointers there.Denis Vlasenko2007-10-111-85/+123
| | | | | | | | | | | | | static: text data bss dec hex filename 767535 974 9420 777929 bdec9 busybox_old 767403 974 9420 777797 bde45 busybox_unstripped dynamic -fpic: text data bss dec hex filename 718954 14030 12032 745016 b5e38 busybox_old 720278 12534 12032 744844 b5d8c busybox_unstripped
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-1171-73/+73
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* stat: code shrink; stop using bss; stop using strncat incorrectlyDenis Vlasenko2007-10-051-94/+97
| | | | | | | | | | | | | | | | | function old new delta printfs - 28 +28 strcatc - 26 +26 human_time 41 44 +3 print_it 229 219 -10 buf 30 - -30 print_statfs 420 358 -62 print_stat 1089 921 -168 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 1/3 up/down: 57/-270) Total: -213 bytes text data bss dec hex filename 771105 1029 9552 781686 bed76 busybox_old 770892 1029 9520 781441 bec81 busybox_unstripped
* delete now unused check_header_gzip.cDenis Vlasenko2007-10-051-3/+3
| | | | | sum: do not use uintmax needlessly
* tail: sizeof(buf) is sizeof(char*)! must be BUFSIZDenis Vlasenko2007-10-051-2/+2
|
* tail: work correctly on /proc files (Kazuo TAKADA <kztakada@sm.sony.co.jp>)Denis Vlasenko2007-10-021-7/+14
|
* printf("%s\n") -> puts()Denis Vlasenko2007-10-011-1/+1
|
* 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko2007-10-0119-25/+25
| | | | | 263 bytes saved.
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-2713-27/+28
|
* install: fix bug in "install -c file dir" (tries to copy dir into dir too)Denis Vlasenko2007-09-261-21/+26
| | | | | install: 'support' (ignore) -v and -b
* cp: -r and -R imply -d (coreutils compat)Denis Vlasenko2007-09-251-1/+2
|
* *: kill bb_get_last_path_component, replace with two functionsDenis Vlasenko2007-09-245-6/+7
| | | | | | | | | (one which strips trailing slash and one which does not) wget: straighten out as a result of above change text data bss dec hex filename 5056 1 0 5057 13c1 busybox.t4/networking/wget.o 5022 0 0 5022 139e busybox.t5/networking/wget.o
* test: correct confusing placement of "const"Denis Vlasenko2007-09-211-1/+1
|
* update Glenn McGrath's email addressDenis Vlasenko2007-09-213-3/+3
|
* du: remove statics (by Bernhard Fischer <rep.dot.nop@gmail.com>)Denis Vlasenko2007-09-031-64/+64
| | | | | | | | | | | | | | | | | | | | | | | | | $ ./.cmk bloatcheck function old new delta du_main 340 348 +8 print 39 40 +1 status 129 125 -4 slink_depth 4 - -4 print_files 4 - -4 one_file_system 4 - -4 max_print_depth 4 - -4 du_depth 4 - -4 disp_hr 4 - -4 count_hardlinks 4 - -4 du 407 401 -6 dir_dev 8 - -8 ------------------------------------------------------------------------------ (add/remove: 0/8 grow/shrink: 2/2 up/down: 9/-46) Total: -37 bytes text data bss dec hex filename 864 12 28 904 388 busybox.t3/coreutils/du.o 867 0 0 867 363 busybox.t4/coreutils/du.o 770647 1063 10788 782498 bf0a2 busybox.t3/busybox_unstripped 770651 1051 10764 782466 bf082 busybox.t4/busybox_unstripped
* install: shrink a bit, fix two bugletsDenis Vlasenko2007-08-261-29/+38
|
* make copy_file() a bit easier to understand, and smallerDenis Vlasenko2007-08-252-2/+2
| | | | | | | | | | | function old new delta copy_file 1565 1447 -118 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-118) Total: -118 bytes text data bss dec hex filename 770938 1063 10788 782789 bf1c5 busybox_old 770814 1063 10788 782665 bf149 busybox_unstripped
* cp,mv: simpler arg[cv] handling -> smallish code savingsDenis Vlasenko2007-08-243-34/+39
|
* runit/*: get rid of tai[a] time abstraction, it's too bloaty.Denis Vlasenko2007-08-201-3/+2
| | | | | | | | | | text data bss dec hex filename 772537 1058 11092 784687 bf92f busybox.t0/busybox 772459 1058 11060 784577 bf8c1 busybox.t1/busybox 772326 1058 11028 784412 bf81c busybox.t2/busybox 772158 1058 10980 784196 bf744 busybox.t3/busybox 771490 1055 10988 783533 bf4ad busybox.t4/busybox
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-1840-44/+44
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* hdparm: shrink rodata by ~250 bytesDenis Vlasenko2007-08-161-1/+1
|