summaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* more -Wall warning fixes. -Wall is enabled now.Denis Vlasenko2008-05-181-1/+1
|
* printf: fix printf -%s- foo, printf -- -%s- foo (bug 3354)Denis Vlasenko2008-05-181-28/+24
| | | | | | function old new delta printf_main 577 548 -29
* more -Wall warning fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko2008-05-139-17/+19
| | | | | | | | | | | | | 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
* fix warnings about pointer signednessDenis Vlasenko2008-05-092-3/+3
|
* Use intra-DSO calls when we build libbusybox. No-op for normal build.Denis Vlasenko2008-05-091-0/+8
| | | | | | | | | 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
* uniq: support -w. closes bug 3094.Denis Vlasenko2008-05-031-12/+11
| | | | | | | function old new delta packed_usage 24136 24132 -4 uniq_main 399 384 -15
* echo: fix echo -e -n "msg\n\0"Denis Vlasenko2008-04-301-4/+8
| | | | | (by "Pinedo, David" <david.pinedo AT hp.com>)
* date: better version of previous commit; + fix testsuiteDenis Vlasenko2008-04-281-2/+4
| | | | | to have it checked
* date: complain if there are extraneout argumentsDenis Vlasenko2008-04-281-0/+2
|
* cp: fix "cp -RL" to create regular files even if src is a symlinkDenis Vlasenko2008-04-271-10/+12
|
* date: make it accept ISO date format. Fix help text.Denis Vlasenko2008-04-251-52/+52
| | | | | | | | make testsuite actually test something useful. function old new delta date_main 1094 1149 +55
* dd: fix recent breakage (was comparing "if" with "if=" etc).Denis Vlasenko2008-04-231-2/+2
|
* add forgotten files. I am forgetting it all the time :(Denis Vlasenko2008-04-221-0/+23
|
* whitespace fixes. no code changesDenis Vlasenko2008-04-221-1/+1
|
* *: remove remaining instances of ".data" hackDenis Vlasenko2008-04-222-11/+10
|
* od: fix "od -b"Denis Vlasenko2008-04-141-12/+10
|
* build system: use POSIX options only for cpDenis Vlasenko2008-04-111-1/+1
| | | | | cp: improve comment
* dd: support conv=fsyncDenis Vlasenko2008-04-021-60/+86
| | | | | | | | | | | | 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
* expr: fix comparisons 'a < b' where we were overflowing a-bDenis Vlasenko2008-04-021-87/+84
| | | | | | | | | | | | | | | | | | | (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
* basename: tiny shrinkDenis Vlasenko2008-04-011-1/+1
|
* shells: do not frocibly enable test, echo and kill _applets_,Denis Vlasenko2008-04-013-8/+10
| | | | | | | | | | | | | | | | | | | 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
* copy_file: handle "cp /dev/foo file" (almost) compatibly to coreutils.Denis Vlasenko2008-03-281-1/+5
| | | | | | (almost because we do not copy mode, which is probably wasn't intended). +61 bytes.
* *: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/Denis Vlasenko2008-03-265-7/+7
|
* date: make help text more understandable; small shrinkDenis Vlasenko2008-03-251-53/+51
| | | | | | | text data bss dec hex filename 799025 641 7380 807046 c5086 busybox_old 799009 641 7380 807030 c5076 busybox_unstripped
* patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes)Denis Vlasenko2008-03-238-13/+0
| | | | | *: removal of #include <getopt.h>
* tail: fix fallout from tail -c optimizationDenis Vlasenko2008-03-231-13/+9
|
* brctl: eliminate stray data objectDenis Vlasenko2008-03-171-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | brctl: use constant fd to reduce parameter passing runsvdir: do not use data/bss od: reuse bb_argv_dash last: do not go into endless loop on read error mount: make it not fail scripts/find_bad_common_bufsiz check dc: add INIT_G() (no-op for dc, but we want uniform usage of "G trick") function old new delta runsvdir_main 1646 1672 +26 set_pgrp 1 - -1 exitsoon 1 - -1 check 679 678 -1 svnum 4 - -4 svdir 4 - -4 sv 4 - -4 stamplog 4 - -4 rploglen 4 - -4 rplog 4 - -4 mount_main 995 988 -7 static.default_file_list 8 - -8 pfd 8 - -8 logpipe 8 - -8 static.info 20 - -20 brctl_main 767 739 -28 ------------------------------------------------------------------------------ (add/remove: 0/12 grow/shrink: 1/3 up/down: 26/-106) Total: -80 bytes text data bss dec hex filename 793327 662 7412 801401 c3a79 busybox_old 793329 641 7372 801342 c3a3e busybox_unstripped
* *: mode tcp/udpsvd to networking, delete ipsvd/*Denis Vlasenko2008-03-171-3/+3
| | | | | | | | | | | | | | */Config.in: fixes to text svlogd: make it NOMMU capable function old new delta processorstart 378 420 +42 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 42/0) Total: 42 bytes text data bss dec hex filename 797153 662 7420 805235 c4973 busybox_old 797196 662 7420 805278 c499e busybox_unstripped
* *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param)Denis Vlasenko2008-03-179-52/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta getopt32 1370 1385 +15 sulogin_main 490 494 +4 realpath_main 84 86 +2 sleep_main 76 77 +1 mt_main 256 257 +1 printenv_main 75 74 -1 fdformat_main 546 545 -1 usleep_main 44 42 -2 setlogcons_main 77 75 -2 ed_main 2654 2649 -5 deallocvt_main 69 64 -5 addgroup_main 373 368 -5 mkfs_minix_main 2989 2982 -7 tail_main 1221 1213 -8 sv_main 1254 1241 -13 du_main 348 328 -20 tftp_main 325 302 -23 split_main 581 558 -23 nc_main 1000 977 -23 diff_main 891 868 -23 arping_main 1797 1770 -27 ls_main 893 847 -46 od_main 2797 2750 -47 readprofile_main 1944 1895 -49 tcpudpsvd_main 1973 1922 -51 udhcpc_main 2590 2513 -77 grep_main 824 722 -102 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/22 up/down: 23/-560) Total: -537 bytes text data bss dec hex filename 796973 658 7428 805059 c48c3 busybox_old 796479 662 7420 804561 c46d1 busybox_unstripped
* *: shrink by using [f]open_or_warn_stdin where appropriateDenis Vlasenko2008-03-1714-176/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta lsattr_main 62 143 +81 open_or_warn_stdin - 36 +36 fclose_if_not_stdin 20 47 +27 xfopen_stdin - 20 +20 tac_main 336 356 +20 cksum_main 249 259 +10 bb_argv_dash - 8 +8 su_main 448 455 +7 cmp_main 630 633 +3 passwd_main 1072 1074 +2 uudecode_main 317 315 -2 text_yank 110 108 -2 handle_incoming_and_exit 2653 2651 -2 flags 5 1 -4 write_leases 235 230 -5 fopen_or_warn_stdin 48 42 -6 fold_main 648 642 -6 static.argv_dash 8 - -8 sum_main 142 128 -14 tail_main 1237 1221 -16 sed_main 711 695 -16 cmp_xfopen_input 17 - -17 bb_cat 113 96 -17 catv_main 328 306 -22 strings_main 457 434 -23 hash_file 298 274 -24 sum_file 353 325 -28 sort_main 904 859 -45 expand_main 736 686 -50 cut_main 1116 1065 -51 md5_sha1_sum_main 549 493 -56 lsattr_args 90 - -90 read_stduu 408 255 -153 ------------------------------------------------------------------------------ (add/remove: 3/3 grow/shrink: 7/20 up/down: 214/-657) Total: -443 bytes text data bss dec hex filename 797417 658 7428 805503 c4a7f busybox_old 796973 658 7428 805059 c48c3 busybox_unstripped
* *: fix fallout from -Wunused-parameterDenis Vlasenko2008-03-171-3/+18
| | | | | | | | | | | | | | | | | | function old new delta bbunpack 358 366 +8 passwd_main 1070 1072 +2 handle_incoming_and_exit 2651 2653 +2 getpty 88 86 -2 script_main 975 972 -3 inetd_main 2036 2033 -3 dname_enc 377 373 -4 make_new_session 474 462 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/5 up/down: 12/-24) Total: -12 bytes text data bss dec hex filename 797429 658 7428 805515 c4a8b busybox_old 797417 658 7428 805503 c4a7f busybox_unstripped
* *: add -Wunused-parameter; fix resulting breakageDenis Vlasenko2008-03-1732-36/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped