summaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* whitespace fixes, no code changesDenis Vlasenko2007-08-163-3/+4
|
* trylink: automatically use custom link script if user provides oneDenis Vlasenko2007-08-141-1/+1
| | | | | | vinfo_msg: one user (info_msg), incorporate in it *: style fixes
* expand, unexpand: new applets from Tito <farmatito@tiscali.it>Denis Vlasenko2007-08-134-2/+237
|
* df: match coreutils behavior of wrapping lines if filesystem name is too long.Denis Vlasenko2007-08-131-25/+24
| | | | | df: trim help text
* httpd: round down sendfile byte count to 64kDenis Vlasenko2007-08-131-1/+1
| | | | | *: style fixes
* s/#ifdef CONFIG_/#if ENABLE_/gDenis Vlasenko2007-08-132-5/+5
|
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-1223-81/+85
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* ls,ps,watch: measure terminal width on fd 0, not 1Denis Vlasenko2007-08-091-1/+1
|
* stat: fix option -Z segv (bug 1454)Denis Vlasenko2007-08-091-5/+11
|
* catv: catv without arguments was trying to use environ as argv.Denis Vlasenko2007-08-061-3/+6
| | | | | (Alex Landau <landau_alex@yahoo.com>)
* env: micro-optimizationDenis Vlasenko2007-08-062-15/+10
| | | | | | | | | | | | | | printenv: fix "printenv VAR1 VAR2" bug (wasn't printing VAR2) (spotted by kalyanatejaswi balabhadrapatruni <kalyanatejaswi@yahoo.co.in>) env_main 267 260 -7 printenv_main 147 75 -72 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-79) Total: -79 bytes text data bss dec hex filename 770336 1096 11228 782660 bf144 busybox_old 770256 1096 11228 782580 bf0f4 busybox_unstripped
* dd: use unsigned printf specifier for # of blocksDenis Vlasenko2007-07-301-2/+3
|
* dd: fix newly introduced bug (introduced by me)Denis Vlasenko2007-07-291-1/+1
|
* multiplier suffixes are short, store them directly in struct suffix_multDenis Vlasenko2007-07-277-11/+11
| | | | | | | | | | | | function old new delta xstrtoul_range_sfx 226 217 -9 xstrtoull_range_sfx 291 280 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-20) Total: -20 bytes text data bss dec hex filename 669128 2668 13616 685412 a7564 busybox_old 669108 2668 13616 685392 a7550 busybox_unstripped
* dd: fix bug where we assume count=INT_MAX when count is unspecified;Denis Vlasenko2007-07-271-32/+53
| | | | | | | | | | | | | shrink dd while at it function old new delta dd_main 1453 1368 -85 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-85) Total: -85 bytes text data bss dec hex filename 669216 2668 13616 685500 a75bc busybox_old 669128 2668 13616 685412 a7564 busybox_unstripped
* bb_getpwuid, bb_getgrgid: change order of arguments to more intuitive one;Denis Vlasenko2007-07-272-10/+10
| | | | | comment thoroughly when they die and when they dont.
* cal: small code shrinkDenis Vlasenko2007-07-261-55/+50
|
* Replace index_in_[sub]str_array with index_in_[sub]strings,Denis Vlasenko2007-07-2410-40/+35
| | | | | | | | | which scans thru "abc\0def\0123\0\0" type strings. Saves 250 bytes. text data bss dec hex filename 781266 1328 11844 794438 c1f46 busybox_old 781010 1328 11844 794182 c1e46 busybox_unstripped
* od: shrink a bitDenis Vlasenko2007-07-241-30/+21
| | | | | | | | | | | | | | | | | | verbose 12 13 +1 open_next_file 102 99 -3 limit_bytes_to_format 4 1 -3 ioerror 4 1 -3 flag_pseudo_start 4 1 -3 flag_dump_strings 4 1 -3 abbreviate_duplicate_blocks 4 - -4 check_and_close 96 90 -6 od_main 2988 2955 -33 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/7 up/down: 1/-58) Total: -57 bytes text data bss dec hex filename 781314 1328 11876 794518 c1f96 busybox_old 781266 1328 11844 794438 c1f46 busybox_unstripped
* rework long option handling. saves ~1.2kDenis Vlasenko2007-07-236-49/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta tar_longopts - 222 +222 static.udhcpc_longopts - 192 +192 start_stop_daemon_longopts - 150 +150 getopt32 1045 1185 +140 static.wget_longopts - 111 +111 static.od_longopts - 105 +105 getopt_longopts - 96 +96 install_longopts - 67 +67 ipcalc_longopts - 63 +63 static.hwclock_longopts - 54 +54 ftpgetput_longopts - 52 +52 static.dumpleases_longopts - 32 +32 env_longopts - 31 +31 runparts_longopts - 30 +30 mv_longopts - 24 +24 mkdir_longopts - 19 +19 find_pair 164 180 +16 bb_null_long_options - 16 +16 setconsole_longopts - 10 +10 display_speed 91 98 +7 collect_blk 467 474 +7 show_color 4 1 -3 ls_main 913 904 -9 bb_default_long_options 16 - -16 ls_color_opt 32 10 -22 setconsole_long_options 32 - -32 arith 2077 2030 -47 mv_long_options 48 - -48 mkdir_long_options 48 - -48 env_long_options 48 - -48 static.options 248 184 -64 runparts_long_options 80 - -80 ftpgetput_long_options 96 - -96 static.hwclock_long_options 112 - -112 install_long_options 112 - -112 static.long_options 144 - -144 static.wget_long_options 160 - -160 longopts 160 - -160 static.arg_options 304 - -304 tar_long_options 320 - -320 long_options 384 - -384 ------------------------------------------------------------------------------ (add/remove: 17/15 grow/shrink: 4/5 up/down: 1444/-2209) Total: -765 bytes text data bss dec hex filename 782618 1328 11900 795846 c24c6 busybox_old 781354 1328 11900 794582 c1fd6 busybox_unstripped
* style fix (stray space before ';')Denis Vlasenko2007-07-211-1/+1
|
* libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive optionsDenis Vlasenko2007-07-217-19/+15
| | | | | | | | | | | | | | | | | | | | find_pair 164 180 +16 passwd_main 1222 1230 +8 display_speed 91 96 +5 msh_main 1335 1339 +4 qrealloc 38 36 -2 refresh 1190 1182 -8 cut_main 543 532 -11 sendCgi 1807 1794 -13 getopt32 1063 1045 -18 arith 2077 2030 -47 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/6 up/down: 33/-99) Total: -66 bytes text data bss dec hex filename 781548 1168 11900 794616 c1ff8 busybox_old 781452 1168 11900 794520 c1f98 busybox_unstripped
* xioctl and friends by Tito <farmatito@tiscali.it>Denis Vlasenko2007-07-141-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta do_iptunnel 203 977 +774 process_dev 5328 5494 +166 ioctl_or_perror - 54 +54 ioctl_or_perror_and_die - 51 +51 ioctl_alt_func - 49 +49 bb_ioctl_or_warn - 47 +47 do_add_ioctl 102 145 +43 bb_xioctl - 39 +39 print_value_on_off - 31 +31 get_lcm 105 123 +18 arp_main 2155 2167 +12 .................. zcip_main 1576 1566 -10 setlogcons_main 92 82 -10 dumpkmap_main 263 253 -10 do_get_ioctl 85 75 -10 setkeycodes_main 165 154 -11 write_table 244 232 -12 vconfig_main 318 306 -12 do_del_ioctl 93 81 -12 set_address 75 62 -13 maybe_set_utc 30 16 -14 loadfont_main 495 479 -16 slattach_main 712 695 -17 do_loadfont 191 174 -17 do_iplink 1155 1136 -19 getty_main 2583 2562 -21 fbset_main 2058 2035 -23 do_time 588 565 -23 xioctl 25 - -25 read_rtc 186 160 -26 parse_conf 1299 1270 -29 udhcp_read_interface 269 239 -30 bb_ioctl 45 - -45 bb_ioctl_alt 70 - -70 bb_ioctl_on_off 78 - -78 .rodata 129370 129018 -352 do_show 799 - -799 ------------------------------------------------------------------------------ (add/remove: 6/5 grow/shrink: 13/49 up/down: 1316/-1864) Total: -548 bytes text data bss dec hex filename 675352 2740 13968 692060 a8f5c busybox_old 674804 2740 13968 691512 a8d38 busybox_unstripped
* md5_sha1_sum: fix mishandling when run as /bin/md5sum (with path)Denis Vlasenko2007-07-052-30/+32
| | | | | | | | | | | | | | | | | | | | | | chown/chgrp: completely match coreutils 6.8 wrt symlink handling function old new delta recursive_action 411 422 +11 arith 2033 2042 +9 collect_blk 467 474 +7 dhcprelay_main 1122 1125 +3 fsck_main 1909 1911 +2 singlemount 4555 4547 -8 xmalloc_realpath 14 - -14 get_lcm 123 105 -18 ed_main 3111 3084 -27 chown_main 217 183 -34 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 5/4 up/down: 32/-101) Total: -69 bytes text data bss dec hex filename 684132 2744 14000 700876 ab1cc busybox_old 684060 2744 14000 700804 ab184 busybox_unstripped
* expr: small code shrinkDenis Vlasenko2007-07-011-4/+7
|