summaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Apply post 1.12.3 fixes, bump to 1.12.41_12_4Denis Vlasenko2008-12-311-1/+8
|
* apply post-1.12.1 patches, bump version to 1.12.21_12_2Denis Vlasenko2008-11-092-3/+3
|
* 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
* printf: do not print garbage on "%Ld". closes bug 4214.Denis Vlasenko2008-07-181-6/+15
| | | | | | | | | | function old new delta printf_main 633 637 +4 multiconvert 99 79 -20 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 4/-20) Total: -16 bytes
* printf: fix %b, fix several bugs in %*.*, fix compat issues withDenis Vlasenko2008-07-181-78/+121
| | | | | | | | | | | | | | | | | | | aborting too early, support %zd; expand testsuite function old new delta get_width_prec - 46 +46 multiconvert 82 99 +17 conv_strtod 44 54 +10 print_direc 382 391 +9 printf_main 629 633 +4 conv_strtoul 20 16 -4 conv_strtol 20 16 -4 my_xstrtoul 20 - -20 my_xstrtol 20 - -20 my_xstrtod 21 - -21 ------------------------------------------------------------------------------ (add/remove: 1/3 grow/shrink: 4/2 up/down: 86/-69) Total: 17 bytes
* printf: protect against bogus format specifiers. Hopefully closes bug 4184Denis Vlasenko2008-07-171-9/+13
|
* install: do not chown intermediate directories with install -d; shrinkDenis Vlasenko2008-07-161-47/+28
| | | | | | | | | | | (by Natanael Copa) function old new delta .rodata 171528 171511 -17 install_main 841 697 -144 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-161) Total: -161 bytes
* libbb: get rid of statics in dump.c; code shrinks a lot tooDenis Vlasenko2008-07-161-25/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta alloc_dumper - 26 +26 hexdump_main 600 601 +1 static.done 1 - -1 static.ateof 1 - -1 bb_dump_vflag 1 - -1 static.savp 4 - -4 static.nextfs 4 - -4 static.curp 4 - -4 exitval 4 - -4 endfu 4 - -4 bb_dump_length 4 - -4 bb_dump_fshead 4 - -4 bb_dump_blocksize 4 - -4 _argv 4 - -4 bb_dump_add 365 358 -7 savaddress 8 - -8 eaddress 8 - -8 bb_dump_skip 8 - -8 address 8 - -8 bb_dump_dump 2748 2672 -76 next 538 445 -93 ------------------------------------------------------------------------------ (add/remove: 1/16 grow/shrink: 1/3 up/down: 27/-247) Total: -220 bytes text data bss dec hex filename 789458 607 6764 796829 c289d busybox_old 789309 601 6696 796606 c27be busybox_unstripped
* tee: fix infinite looping on open error (echo asd | tee "")Denis Vlasenko2008-07-161-1/+3
|
* sleep: make fractional seconds separately selectable in .configDenis Vlasenko2008-07-152-7/+22
|
* comm: almost total rewrite; add testsuiteDenis Vlasenko2008-07-151-54/+41
| | | | | | | | | function old new delta writeline 128 125 -3 comm_main 540 239 -301 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-304) Total: -304 bytes
* ls: fix a bug where we may use uninintialized variableDenis Vlasenko2008-07-151-5/+6
|
* tee: "-" is a name for stdout, handle it that wayDenis Vlasenko2008-07-151-4/+7
|
* sleep: if FANCY && DESKTOP, support fractional seconds, minutes,Denis Vlasenko2008-07-121-8/+49
| | | | | | | | | | | | | | | | | 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
* *: add FAST_FUNC markersDenis Vlasenko2008-07-123-6/+6
| | | | | | | | | | | | 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
* mv: fix a case when we move dangling symlinkDenis Vlasenko2008-07-121-6/+6
|
* libbb: use improved xmalloc_read() from modprobe-smallDenis Vlasenko2008-07-091-1/+5
| | | | | | who: fix compile breakage on some systems modprobe-small: improve Config help text wording
* libbb: introduce and use xrealloc_vectorDenis Vlasenko2008-07-083-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-0547-52/+52
|
* uname,individual: fix improper printf usageDenis Vlasenko2008-07-021-22/+19
| | | | | | | | | | | | 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
* - fix trivial exploit vector when setXidNed Ludd2008-07-021-1/+1
|
* fix FAST_FUNC falloutDenis Vlasenko2008-06-281-6/+6
|
* touch: support -r REF_FILE if ENABLE_DESKTOP (needed for blackfin compile)Denis Vlasenko2008-06-281-6/+39
| | | | | | function old new delta touch_main 136 221 +85
* stat: pointers are not 0L, they are NULLDenis Vlasenko2008-06-271-4/+4
| | | | | man: better error handling
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-273-3/+3
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* whitespace fixes. no code changesDenis Vlasenko2008-06-252-7/+6
|
* fix breakage found by randomconfigDenis Vlasenko2008-06-231-2/+2
|
* fix trivial error with inverted exit code in lsDenis Vlasenko2008-06-181-6/+6
|
* *: use llist_pop for traverse-and-free list operationDenis Vlasenko2008-06-153-7/+3
| | | | | | | | | | | | | | | | | | 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
* dos2unix: do not destroy symlinks and mode of the file being converted.Denis Vlasenko2008-06-141-15/+18
|
* build system: introduce FEATURE_ASSUME_UNICODEDenis Vlasenko2008-06-131-62/+87
| | | | | | | | | | | | | | | | | | | | | 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.
* ash: optional printf builtin. +25 bytes if off, +35 if on.Denis Vlasenko2008-06-013-4/+16
| | | | | by Cristian Ionescu-Idbohrn.
* printf: fix a trivial bugDenis Vlasenko2008-05-311-1/+1
|
* printf: code shrink by eliminating string alloc/copyDenis Vlasenko2008-05-311-28/+27
| | | | | | function old new delta print_direc 428 382 -46
* - optionally pass additional flags down to nmBernhard Reutner-Fischer2008-05-231-1/+1
|
* - use STD*_FILENO some more. No object-code changesBernhard Reutner-Fischer2008-05-191-2/+2
|
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer2008-05-194-4/+4
|