aboutsummaryrefslogtreecommitdiff
path: root/coreutils
Commit message (Collapse)AuthorAgeFilesLines
* printf: fix printf -%s- foo, printf -- -%s- foo (bug 3354)Gravatar Denis Vlasenko2008-05-181-28/+24
| | | | | | function old new delta printf_main 577 548 -29
* more -Wall warning fixes from Cristian Ionescu-Idbohrn.Gravatar 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 signednessGravatar Denis Vlasenko2008-05-092-3/+3
|
* Use intra-DSO calls when we build libbusybox. No-op for normal build.Gravatar 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.Gravatar 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"Gravatar Denis Vlasenko2008-04-301-4/+8
| | | | | (by "Pinedo, David" <david.pinedo AT hp.com>)
* date: better version of previous commit; + fix testsuiteGravatar Denis Vlasenko2008-04-281-2/+4
| | | | | to have it checked
* date: complain if there are extraneout argumentsGravatar Denis Vlasenko2008-04-281-0/+2
|
* cp: fix "cp -RL" to create regular files even if src is a symlinkGravatar Denis Vlasenko2008-04-271-10/+12
|
* date: make it accept ISO date format. Fix help text.Gravatar 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).Gravatar Denis Vlasenko2008-04-231-2/+2
|
* add forgotten files. I am forgetting it all the time :(Gravatar Denis Vlasenko2008-04-221-0/+23
|
* whitespace fixes. no code changesGravatar Denis Vlasenko2008-04-221-1/+1
|
* *: remove remaining instances of ".data" hackGravatar Denis Vlasenko2008-04-222-11/+10
|
* od: fix "od -b"Gravatar Denis Vlasenko2008-04-141-12/+10
|
* build system: use POSIX options only for cpGravatar Denis Vlasenko2008-04-111-1/+1
| | | | | cp: improve comment
* dd: support conv=fsyncGravatar Denis 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-bGravatar Denis 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 shrinkGravatar Denis Vlasenko2008-04-011-1/+1
|
* shells: do not frocibly enable test, echo and kill _applets_,Gravatar 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.Gravatar 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/Gravatar Denis Vlasenko2008-03-265-7/+7
|
* date: make help text more understandable; small shrinkGravatar Denis 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)Gravatar Denis Vlasenko2008-03-238-13/+0
| | | | | *: removal of #include <getopt.h>
* tail: fix fallout from tail -c optimizationGravatar Denis Vlasenko2008-03-231-13/+9
|
* brctl: eliminate stray data objectGravatar Denis 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/*Gravatar 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)Gravatar 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 appropriateGravatar Denis 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-parameterGravatar Denis 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 breakageGravatar Denis 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
* dos2unix: tiny shrinkGravatar Denis Vlasenko2008-03-171-8/+7
| | | | | | | | | | | | | | | | | | | | | | login,su: fix setup_environment() so that it works as intended (parameter names were a bit misleading) fdisk: shrink help text: shrink function old new delta login_main 1658 1701 +43 setup_environment 206 203 -3 dos_compatible_flag 4 1 -3 dos2unix_main 383 375 -8 get_boot 1724 1702 -22 fdisk_main 2949 2889 -60 packed_usage 24250 23948 -302 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/6 up/down: 43/-398) Total: -355 bytes text data bss dec hex filename 798768 661 7428 806857 c4fc9 busybox_old 798327 658 7428 806413 c4e0d busybox_unstripped
* libbb: introduse and use signal_[no_]SA_RESTART_empty_mask and sigaction_setGravatar Denis Vlasenko2008-03-121-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | signal_SA_RESTART_empty_mask - 65 +65 signal_no_SA_RESTART_empty_mask - 54 +54 dd_main 1325 1369 +44 sigaction_set - 19 +19 dname_enc 373 377 +4 UNSPEC_print 64 66 +2 setsignal 296 294 -2 bb_signals_recursive 95 92 -3 bb_askpass 367 361 -6 inetd_main 1810 1797 -13 rx_main 912 883 -29 sigdelset 32 - -32 __sigdelset 32 - -32 __GI_sigdelset 32 - -32 sighup_handler 84 37 -47 arping_main 1844 1797 -47 fsck_main 1869 1807 -62 run_list 1917 1844 -73 vlock_main 492 409 -83 progressmeter 883 798 -85 handle_incoming_and_exit 2737 2651 -86 ------------------------------------------------------------------------------ (add/remove: 3/3 grow/shrink: 3/12 up/down: 188/-632) Total: -444 bytes
* actually add bb_qsort.cGravatar Denis Vlasenko2008-03-021-1/+1
| | | | | *: s/Denis/Denys/
* *: add optimization barrier to all "G trick" locationsGravatar Denis Vlasenko2008-02-271-0/+1
|
* lpd: spool mode added by VladimirGravatar Denis Vlasenko2008-02-251-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | lpr: more robust error reporting *: introduce and use xchroot libbb: full_read/write now will report partial data counts prior to error isdirectory.c: style fixes lpd_main 249 486 +237 xchroot - 29 +29 get_response_or_say_and_die 110 139 +29 full_write 52 60 +8 full_read 55 63 +8 static.newline 1 - -1 switch_root_main 404 400 -4 chpst_main 1089 1079 -10 getopt32 1370 1359 -11 chroot_main 115 101 -14 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 4/4 up/down: 311/-40) Total: 271 bytes text data bss dec hex filename 798472 728 7484 806684 c4f1c busybox_old 798775 728 7484 806987 c504b busybox_unstripped
* forgotten bit of rmdir long options supportGravatar Denis Vlasenko2008-02-241-0/+8
|
* rmdir: optional long options support for Debian users. +68 bytes.Gravatar Denis Vlasenko2008-02-241-12/+21
| | | | | By Roberto Gordo Saez <roberto.gordo AT gmail.com>
* less,klogd,syslogd,nc,tcpudp: exit on signal by killing itself, not exit(1)Gravatar Denis Vlasenko2008-02-241-33/+33
| | | | | *: minor shrink
* tail: fix "tail -c 20 /dev/huge_disk" (was taking ages)Gravatar Denis Vlasenko2008-02-192-38/+43
| | | | | | tail: a few variables renamed wc: tiny optimization.
* dos2unix: shrinkGravatar Denis Vlasenko2008-02-171-27/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bloatcheck for last four commits: function old new delta xrename - 38 +38 md5_hash_block 437 458 +21 sv_main 1237 1254 +17 update_status 569 580 +11 decode_format_string 795 805 +10 doset 317 326 +9 passwd_main 1070 1074 +4 sha1_compile 447 446 -1 rename_or_warn 49 47 -2 fill_bounds 174 172 -2 buffer_fill_and_print 76 73 -3 bb_perror_nomsg 9 - -9 get_next_block 1810 1795 -15 patch_main 1107 1085 -22 write_status_file 1123 1077 -46 remove 52 - -52 __GI_remove 52 - -52 open_as_user 171 111 -60 microcom_main 811 747 -64 dos2unix_main 452 383 -69 ------------------------------------------------------------------------------ (add/remove: 1/3 grow/shrink: 6/10 up/down: 110/-397) Total: -287 bytes
* libbb: introduce bb_signals and bb_signals_recursive,Gravatar Denis Vlasenko2008-02-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | which sets same handler for many signals. sig_catch is nuked (bb_signals_recursive is more descriptive name). *: use them as appropriate. function old new delta bb_signals_recursive - 95 +95 bb_signals - 52 +52 run_command 258 273 +15 svlogd_main 1368 1377 +9 runsv_main 1746 1752 +6 runsvdir_main 1643 1646 +3 UNSPEC_print 64 66 +2 time_main 1128 1127 -1 ... resize_main 246 210 -36 sig_catch 63 - -63 set_fatal_sighandler 85 14 -71 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 5/24 up/down: 182/-548) Total: -366 bytes
* random s/short/int/Gravatar Denis Vlasenko2008-02-161-0/+1
| | | | | | | | | add_cmd 1189 1190 +1 xconnect_ftpdata 118 117 -1 data_align 86 84 -2 process_files 2101 2096 -5 forkexec 1345 1334 -11
* cp: add ENABLE_FEATURE_VERBOSE_CP_MESSAGE. Closes bug 1470Gravatar Denis Vlasenko2008-02-131-0/+6
|
* sort: -z outputs NUL terminated lines. Closes bug 1591.Gravatar Denis Vlasenko2008-02-131-2/+3
|
* - spelling fixesGravatar Bernhard Reutner-Fischer2008-02-111-1/+1
|
* test: fix mishandling of 'test ! arg1 op arg2 more args'; add testsuiteGravatar Denis Vlasenko2008-02-091-22/+27
|
* README: doccument the need of CONFIG_DESKTOPGravatar Denis Vlasenko2008-02-082-14/+10
| | | | | | | | | od: fix help text to include -t od: handle /proc files (which have filesize 0) correctly od: fix comments to not lie about return value od: "%u" is 1 byte less than "%zu" cat: fix English
* nohup: compat patch by Christoph Gysin <mailinglist.cache at gmail.com>Gravatar Denis Vlasenko2008-02-041-15/+33
|
* *: tidy up usage of char **environGravatar Denis Vlasenko2008-01-282-3/+0
|