aboutsummaryrefslogtreecommitdiff
path: root/debianutils
Commit message (Collapse)AuthorAgeFilesLines
...
* ssd: fix missed + in prev commitGravatar Denis Vlasenko2008-07-011-1/+1
|
* ssd: do not stat -x EXECUTABLE, it is not needed anymoreGravatar Denis Vlasenko2008-07-011-9/+17
| | | | | | | | | ssd: use PATH ssd: fix -a without -x case ssd: fix help text ssd: CLOSE_EXTRA_FDS in MMU case too ssd: add testsuite
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onGravatar Denis Vlasenko2008-06-271-1/+1
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* whitespace fixes. no code changesGravatar Denis Vlasenko2008-06-251-5/+4
|
* ssd: fix commentGravatar Denis Vlasenko2008-06-201-3/+3
|
* *: use llist_pop for traverse-and-free list operationGravatar Denis Vlasenko2008-06-151-4/+2
| | | | | | | | | | | | | | | | | | 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
* mktemp: make default tempfile template shorter;Gravatar Denis Vlasenko2008-06-081-1/+1
| | | | | make help text more understandable
* which: -a support (needed for bfin uclibc build script)Gravatar Denis Vlasenko2008-06-051-12/+52
| | | | | | | | | | | | | real support (with CONFIG_DESKTOP=y): 120+ bytes: text data bss dec hex filename 807958 624 7036 815618 c7202 busybox_old 808085 624 7036 815745 c7281 busybox_unstripped "fake" support (with CONFIG_DESKTOP unset): ~45 bytes: text data bss dec hex filename 797790 611 6996 805397 c4a15 busybox_old 797834 611 6996 805441 c4a41 busybox_unstripped
* mktemp: make argument optional (coreutil 6.12 compat)Gravatar Denis Vlasenko2008-06-051-11/+30
| | | | | | | | | function old new delta mktemp_main 157 174 +17 packed_usage 24508 24504 -4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 17/-4) Total: 13 bytes
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesGravatar Bernhard Reutner-Fischer2008-05-191-1/+1
|
* start_stop_daemon: add -test, fix -x to not match by inode,Gravatar Denis Vlasenko2008-05-181-48/+86
| | | | | | | | | | | | | vastly improve hext text. (mostly by Roy Marples <roy AT marples.name>) function old new delta packed_usage 24124 24190 +66 start_stop_daemon_main 959 991 +32 start_stop_daemon_longopts 149 156 +7 check 1632 1589 -43 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 105/-43) Total: 62 bytes
* more -Wall warning fixes from Cristian Ionescu-Idbohrn.Gravatar Denis Vlasenko2008-05-131-1/+1
| | | | | | | | | | | | | 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
* start_stop_daemon: try to clarify intended meaning of the optionsGravatar Denis Vlasenko2008-05-071-2/+39
|
* start_stop_daemon: use existing global variableGravatar Denis Vlasenko2008-04-301-27/+28
| | | | | start_stop_daemon_main 976 959 -17
* whitespace fixes. no code changesGravatar Denis Vlasenko2008-04-221-11/+11
|
* start_stop_daemon: stat executable only onceGravatar Denis Vlasenko2008-04-201-2/+5
| | | | | | | | | function old new delta start_stop_daemon_main 954 976 +22 check 1661 1632 -29 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 22/-29) Total: -7 bytes
* libbb: prevent xmalloc_open_read_close from dying on seek failureGravatar Denis Vlasenko2008-04-201-23/+17
| | | | | | | | | | | | | start_stop_daemon: use open_read_close instead of xmalloc_open_read_close start_stop_daemon: use local structure instead of global one function old new delta check 1620 1661 +41 xmalloc_open_read_close 171 190 +19 start_stop_daemon_main 976 954 -22 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 60/-22) Total: 38 bytes
* start_stop_daemon: optimization - do not pass paramenter, useGravatar Denis Vlasenko2008-04-191-10/+8
| | | | | | | | | | | | existing globals instead function old new delta start_stop_daemon_main 792 976 +184 check 1618 1620 +2 do_procinit 196 - -196 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 2/0 up/down: 186/-196) Total: -10 bytes
* start_stop_daemon: do not stop /proc scan prematurelyGravatar Denis Vlasenko2008-04-191-5/+12
| | | | | | function old new delta do_procinit 185 196 +11
* start-stop-daemon: make --exec follow symlinksGravatar Denis Vlasenko2008-04-191-13/+13
| | | | | | | | | by Joakim Tjernlund <joakim.tjernlund AT transmode.se> function old new delta check 1591 1618 +27 start_stop_daemon_main 770 792 +22
* start_stop_daemon: mark argc as unusedGravatar Denis Vlasenko2008-04-191-2/+2
|
* patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes)Gravatar Denis Vlasenko2008-03-232-3/+0
| | | | | *: removal of #include <getopt.h>
* *: add -Wunused-parameter; fix resulting breakageGravatar Denis Vlasenko2008-03-173-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* run-parts: add --reverseGravatar Denis Vlasenko2008-02-281-16/+19
|
* start_stop_daemon: stop using data/bssGravatar Denis Vlasenko2008-02-261-15/+34
| | | | | | | | | | | | | | | | | function old new delta start_stop_daemon_main 749 770 +21 do_procinit 184 185 +1 quiet 1 - -1 userspec 4 - -4 user_id 4 - -4 signal_nr 4 - -4 pidfile 4 - -4 found 4 - -4 execname 4 - -4 cmdname 4 - -4 ------------------------------------------------------------------------------ (add/remove: 0/8 grow/shrink: 2/0 up/down: 22/-29) Total: -7 bytes
* trivial fixes to config systemGravatar Denis Vlasenko2008-02-191-2/+2
|
* mktemp: support -p DIR (Timo Teras <timo.teras at iki.fi>)Gravatar Denis Vlasenko2008-02-091-10/+16
| | | | | | packed_usage 23595 23660 +65 mktemp_main 139 157 +18
* which: fix testsuite failureGravatar Denis Vlasenko2007-11-251-2/+2
| | | | | | pidof: do not output empty line if nothing found testsuite: disable false positive
* add -fvisibility=hidden to CC flags, mark XXX_main functionsGravatar Denis Vlasenko2007-10-115-5/+5
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* run_parts: make it sort executables by name (required by API)Gravatar Denis Vlasenko2007-09-231-73/+101
|
* don't pass argc in getopt32, it's superfluousGravatar Denis Vlasenko2007-08-183-3/+3
| | | | | | | | (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
* trylink: produce even more info about final link stageGravatar Denis Vlasenko2007-08-122-2/+2
| | | | | | | | | 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
* start_stop_daemon: NOMMU fixes, round 2 by Alex Landau <landau_alex@yahoo.com>Gravatar Denis Vlasenko2007-08-021-8/+10
| | | | | dhcpc: fixed "ifupdown + udhcpc_without_pidpile_creation" bug
* start_stop_daemon: NOMMU fix; smaller fixesGravatar Denis Vlasenko2007-07-311-36/+49
|
* Replace index_in_[sub]str_array with index_in_[sub]strings,Gravatar Denis Vlasenko2007-07-242-2/+2
| | | | | | | | | 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
* rework long option handling. saves ~1.2kGravatar Denis Vlasenko2007-07-232-30/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive optionsGravatar Denis Vlasenko2007-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | 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
* introduce and use bb_basename()Gravatar Denis Vlasenko2007-06-301-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta bb_basename - 26 +26 sv_main 1226 1225 -1 passwd_main 1985 1983 -2 showdirs 482 478 -4 sendCgi 1811 1807 -4 make_device 1354 1350 -4 handleIncoming 2443 2439 -4 func_name 82 78 -4 service_name 2292 2285 -7 main 909 901 -8 cmp_main 555 547 -8 test_main 434 422 -12 act 228 216 -12 find_pair 180 164 -16 rmmod_main 298 280 -18 find_pid_by_name 156 134 -22 modprobe_main 1606 1576 -30 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/16 up/down: 26/-156) Total: -130 bytes text data bss dec hex filename 734933 3028 14400 752361 b7ae9 busybox_old 734801 3028 14400 752229 b7a65 busybox_unstripped
* remove nearly-duplicate PATHs in several placesGravatar Denis Vlasenko2007-06-121-1/+3
| | | | | | | | | | | | | | function old new delta bb_PATH_root_path - 35 +35 varunset 60 58 -2 arith 2042 2033 -9 bb_default_root_login_path 30 - -30 .rodata 128794 128762 -32 which_main 152 117 -35 defpathvar 40 - -40 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 0/4 up/down: 35/-148) Total: -113 bytes
* move several applets to more correct ex-project. No code changes.Gravatar Denis Vlasenko2007-06-123-70/+5
|
* Audit bb_common_bufsiz usage, add script which looks for misuse.Gravatar Denis Vlasenko2007-06-041-1/+1
| | | | | | tr: stop using globals needlessly. code: -103 bytes
* delete tons of extra #includesGravatar Denis Vlasenko2007-05-311-4/+0
|
* use "glibc errno" trick not only for ash, but for entire busyboxGravatar Denis Vlasenko2007-05-311-5/+0
| | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-266-10/+9
| | | | | *: s/include "busybox.h"/include "libbb.h"
* run_parts: do not check path portion of a name for "bad chars".Gravatar Denis Vlasenko2007-04-291-7/+11
| | | | Needed for ifupdown. Patch by "Gabriel L. Somlo" <somlo@cmu.edu>
* style fixes. No code changesGravatar Denis Vlasenko2007-04-121-1/+1
|
* getopt32: fix llist_t options ordering. llist_rev is not unused.Gravatar Denis Vlasenko2007-04-081-3/+0
| | | | | | | | | | | | | | | | function old new delta tar_main 705 695 -10 sort_main 928 918 -10 decode_format_string 886 876 -10 run_parts_main 197 185 -12 ps_main 513 500 -13 wget_main 2764 2750 -14 awk_main 1014 1000 -14 od_main 2886 2866 -20 llist_rev 25 - -25 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/8 up/down: 0/-128) Total: -128 bytes
* find: fix handling of -pruneGravatar Denis Vlasenko2007-04-081-1/+1
| | | | recursive_actions: uppercase flag constants
* - fold recurse, depthFirst and dereference params into one param flags.Gravatar Bernhard Reutner-Fischer2007-03-291-3/+1
| | | | Minor size improvement (-16b for size, -24b according to bloat-o-meter).
* run_parts: I was wrong, NULL termination is already done becauseGravatar Denis Vlasenko2007-03-281-1/+1
| | | | G is pre-initialized to 0.