aboutsummaryrefslogtreecommitdiff
path: root/coreutils
AgeCommit message (Collapse)Author
2008-07-15ls: fix a bug where we may use uninintialized variableDenis Vlasenko
2008-07-15tee: "-" is a name for stdout, handle it that wayDenis Vlasenko
2008-07-12sleep: if FANCY && DESKTOP, support fractional seconds, minutes,Denis Vlasenko
hours and so on. It's coreutils compat. bloatcheck is atrocious :( function old new delta sleep_main 71 362 +291 bb_strtod - 127 +127 make_device 1269 1294 +25 getoptscmd 708 713 +5 switch_root_main 402 401 -1 display_speed 90 85 -5 show_entry 295 289 -6 parse_expr 841 833 -8 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/4 up/down: 448/-20) Total: 428 bytes
2008-07-12*: add FAST_FUNC markersDenis Vlasenko
function old new delta getopt_mk_fifo_nod 73 70 -3 mv_main 505 501 -4 cp_mv_stat2 79 73 -6 cp_main 266 257 -9 cp_mv_stat 22 10 -12 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/5 up/down: 46/-80) Total: -34 bytes
2008-07-12mv: fix a case when we move dangling symlinkDenis Vlasenko
2008-07-09libbb: use improved xmalloc_read() from modprobe-smallDenis Vlasenko
who: fix compile breakage on some systems modprobe-small: improve Config help text wording
2008-07-08libbb: introduce and use xrealloc_vectorDenis Vlasenko
function old new delta xrealloc_vector_helper - 51 +51 create_list 84 99 +15 getopt_main 690 695 +5 passwd_main 1049 1053 +4 get_cached 85 89 +4 msh_main 1377 1380 +3 add_match 42 41 -1 read_lines 720 718 -2 grave 1068 1066 -2 fill_match_lines 143 141 -2 add_to_dirlist 67 65 -2 add_input_file 49 47 -2 act 252 250 -2 fsck_main 2252 2246 -6 man_main 765 757 -8 bb_internal_initgroups 228 220 -8 cut_main 1052 1041 -11 add_edge_to_node 55 43 -12 dpkg_main 3851 3835 -16 ifupdown_main 2202 2178 -24 sort_main 838 812 -26 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/15 up/down: 82/-124) Total: -42 bytes
2008-07-05*: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko
2008-07-02uname,individual: fix improper printf usageDenis Vlasenko
uname,awk: small code shrink function old new delta uname_main 175 166 -9 nvalloc 167 157 -10 evaluate 6381 6370 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-30) Total: -30 bytes
2008-07-02- fix trivial exploit vector when setXidNed Ludd
2008-06-28fix FAST_FUNC falloutDenis Vlasenko
2008-06-28touch: support -r REF_FILE if ENABLE_DESKTOP (needed for blackfin compile)Denis Vlasenko
function old new delta touch_main 136 221 +85
2008-06-27stat: pointers are not 0L, they are NULLDenis Vlasenko
man: better error handling
2008-06-27*: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko
text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
2008-06-25whitespace fixes. no code changesDenis Vlasenko
2008-06-23fix breakage found by randomconfigDenis Vlasenko
2008-06-18fix trivial error with inverted exit code in lsDenis Vlasenko
2008-06-15*: use llist_pop for traverse-and-free list operationDenis Vlasenko
function old new delta append_file_list_to_list 109 111 +2 udhcpc_main 2414 2413 -1 run_parts_main 325 324 -1 od_main 2324 2323 -1 getopt_main 709 707 -2 env_main 253 251 -2 sed_main 659 656 -3 ps_main 522 519 -3 traceroute_main 3960 3954 -6 sort_main 844 838 -6 diff_main 866 858 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/10 up/down: 2/-33) Total: -31 bytes
2008-06-14dos2unix: do not destroy symlinks and mode of the file being converted.Denis Vlasenko
2008-06-13build system: introduce FEATURE_ASSUME_UNICODEDenis Vlasenko
ls: use it. also do G trick. with UNICODE off: function old new delta ls_main 843 871 +28 show_color 1 - -1 showdirs 500 497 -3 my_stat 100 97 -3 terminal_width 4 - -4 tabstops 4 - -4 status 122 118 -4 static.dotdir 4 - -4 current_time_t 4 - -4 all_fmt 4 - -4 ------------------------------------------------------------------------------ (add/remove: 0/6 grow/shrink: 1/3 up/down: 28/-31) Total: -3 bytes Also was tested with UNICODE on with glibc.
2008-06-01ash: optional printf builtin. +25 bytes if off, +35 if on.Denis Vlasenko
by Cristian Ionescu-Idbohrn.
2008-05-31printf: fix a trivial bugDenis Vlasenko
2008-05-31printf: code shrink by eliminating string alloc/copyDenis Vlasenko
function old new delta print_direc 428 382 -46
2008-05-23- optionally pass additional flags down to nmBernhard Reutner-Fischer
2008-05-19- use STD*_FILENO some more. No object-code changesBernhard Reutner-Fischer
2008-05-19- use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer
2008-05-18more -Wall warning fixes. -Wall is enabled now.Denis Vlasenko
2008-05-18printf: fix printf -%s- foo, printf -- -%s- foo (bug 3354)Denis Vlasenko
function old new delta printf_main 577 548 -29
2008-05-13more -Wall warning fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko
This time it resulted in small code changes: function old new delta nexpr 820 828 +8 tail_main 1200 1202 +2 wrapf 166 167 +1 parse_mount_options 227 209 -18 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 11/-18) Total: -7 bytes
2008-05-09fix warnings about pointer signednessDenis Vlasenko
2008-05-09Use intra-DSO calls when we build libbusybox. No-op for normal build.Denis Vlasenko
This was Bernhard Fischer' idea. text data bss dec hex filename 773549 7781 9740 791070 c121e busybox.t7/0_lib/libbusybox.so.1.11.0.svn_unstripped 769683 7397 9740 786820 c0184 busybox.t9t/0_lib/libbusybox.so.1.11.0.svn_unstripped
2008-05-03uniq: support -w. closes bug 3094.Denis Vlasenko
function old new delta packed_usage 24136 24132 -4 uniq_main 399 384 -15
2008-04-30echo: fix echo -e -n "msg\n\0"Denis Vlasenko
(by "Pinedo, David" <david.pinedo AT hp.com>)
2008-04-28date: better version of previous commit; + fix testsuiteDenis Vlasenko
to have it checked
2008-04-28date: complain if there are extraneout argumentsDenis Vlasenko
2008-04-27cp: fix "cp -RL" to create regular files even if src is a symlinkDenis Vlasenko
2008-04-25date: make it accept ISO date format. Fix help text.Denis Vlasenko
make testsuite actually test something useful. function old new delta date_main 1094 1149 +55
2008-04-23dd: fix recent breakage (was comparing "if" with "if=" etc).Denis Vlasenko
2008-04-22add forgotten files. I am forgetting it all the time :(Denis Vlasenko
2008-04-22whitespace fixes. no code changesDenis Vlasenko
2008-04-22*: remove remaining instances of ".data" hackDenis Vlasenko
2008-04-14od: fix "od -b"Denis Vlasenko
2008-04-11build system: use POSIX options only for cpDenis Vlasenko
cp: improve comment
2008-04-02dd: support conv=fsyncDenis Vlasenko
dd: support "dd --" if CONFIG_DESKTOP=y function old new delta static.conv_words - 28 +28 dd_main 1369 1373 +4 static.keywords 848 827 -21 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 32/-21) Total: 11 bytes
2008-04-02expr: fix comparisons 'a < b' where we were overflowing a-bDenis Vlasenko
(not to mention that we used int, not arith_t). closes bug 2744. Also, shrink a bit and add testsuite entry function old new delta nextarg 75 84 +9 tostring 38 35 -3 toarith 89 86 -3 str_value 35 32 -3 eval6 555 552 -3 int_value 29 23 -6 eval4 128 120 -8 eval3 112 104 -8 eval2 512 417 -95 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/8 up/down: 9/-129) Total: -120 bytes
2008-04-01basename: tiny shrinkDenis Vlasenko
2008-04-01shells: do not frocibly enable test, echo and kill _applets_,Denis Vlasenko
just build relevant source and use xxx_main functions. build system: add a special case when we have exactly one applet enabled (makes "true", "false", "basename" REALLY tiny). getopt32: do not use stdio. function old new delta getopt32 1385 1412 +27 make_device 1187 1200 +13 basename_main 120 127 +7 tcpudpsvd_main 1922 1926 +4 testcmd 5 - -5 echocmd 5 - -5 fuser_main 1243 1231 -12 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 4/1 up/down: 51/-22) Total: 29 bytes
2008-03-28copy_file: handle "cp /dev/foo file" (almost) compatibly to coreutils.Denis Vlasenko
(almost because we do not copy mode, which is probably wasn't intended). +61 bytes.
2008-03-26*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/Denis Vlasenko
2008-03-25date: make help text more understandable; small shrinkDenis Vlasenko
text data bss dec hex filename 799025 641 7380 807046 c5086 busybox_old 799009 641 7380 807030 c5076 busybox_unstripped