aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* ip: fix "ip r" breakageDenys Vlasenko2010-07-241-39/+23
| | | | | | | | | | function old new delta static.ip_func_ptrs - 32 +32 ip_main 110 53 -57 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 32/-57) Total: -25 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libnetlink: code shrinkNatanael Copa2010-07-232-27/+17
| | | | | | | | | | | | | function old new delta xrtnl_open 95 93 -2 parse_rtattr 87 85 -2 rtnl_close 9 - -9 xrtnl_wilddump_request 101 64 -37 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/3 up/down: 0/-50) Total: -50 bytes Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ifplugd: code shrinkMaksym Kryzhanovskyy2010-07-221-169/+164
| | | | | | | | | | | | | function old new delta ifplugd_main 1089 1161 +72 method_table - 40 +40 detect_link 221 207 -14 static.method 40 - -40 netlink_open 79 - -79 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 1/1 up/down: 112/-133) Total: -21 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vi: fix "ask terminal" codeDenys Vlasenko2010-07-211-10/+10
| | | | | | | | | function old new delta edit_file 761 793 +32 refresh 773 780 +7 query_screen_dimensions 63 54 -9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: small code shrinkDenys Vlasenko2010-07-211-14/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: new applet. ~5.5kMarek Polacek2010-07-211-0/+1024
| | | | | Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make DESKTOP=y the defaultDenys Vlasenko2010-07-211-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tcpsvd,udpsvd: conditionalize usage of SO_ORIGINAL_DSTJeremie Koenig2010-07-192-2/+5
| | | | | | | On systems without this call, $TCPORIGDSTADDR is not set. Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: conditionalize AF_* usage in error reportingJeremie Koenig2010-07-192-1/+4
| | | | | Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkdir: fix -p on FreeBSDJeremie Koenig2010-07-191-1/+1
| | | | | | | | This patch is libbb.make_directory.diff from Debian kFreeBSD at: http://svn.debian.org/viewsvn/d-i/people/slackydeb/kfreebsd/busybox/1.14/debian Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb.h: add device names for Hurd and FreeBSDJeremie Koenig2010-07-191-5/+21
| | | | | | | | Adapted from include.libbb.diff from the Debian kFreeBSD people: http://svn.debian.org/viewsvn/d-i/people/slackydeb/kfreebsd/busybox/1.14/debian Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* init: make the initial $TERM value configurableJeremie Koenig2010-07-192-1/+13
| | | | | Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* init,halt: portability improvementsJeremie Koenig2010-07-194-23/+40
| | | | | | | | | | | * make init and halt use the same RB_* constants for reboot() * conditionalize the Linux-specific code Inspired by init.init.diff from the Debian kFreeBSD patches at: http://svn.debian.org/viewsvn/d-i/people/slackydeb/kfreebsd/busybox/1.14/debian Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* init,loginutils: termios portability fixesJeremie Koenig2010-07-194-17/+31
| | | | | Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mark Linux-specific configuration optionsJeremie Koenig2010-07-1919-4/+114
| | | | | | | | PLATFORM_LINUX is used as a dependency for applets or features which require Linux-specific interfaces. Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* readlink: use xmalloc_realpath()Jeremie Koenig2010-07-191-3/+2
| | | | | | | | | | | Using realpath() directly with a non-NULL output buffer is unsafe because its behavior is unspecified on systems which don't have PATH_MAX (ie. Hurd) I beleive this also fixes a small bug whereby 'buf' would not be freed on 'readlink -v' with ENABLE_FEATURE_CLEANUP. Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fix out-of-tree build's recursionAlexander Shishkin2010-07-181-2/+2
| | | | | | | | | | | | | | While doing O=build build I've noticed that it was getting gradually slower with each invocation. The reason turned out to be that the build directory was inside the source tree and got recreated inside itself with all its subdirectories. This patch changes the behavior so that only the directories with Kbuild.src or Config.src in them are created in the out-of-tree build directory. A quick rebuild from scratch revealed no problems with this. Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak defconfigDenys Vlasenko2010-07-182-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: limit ASK_TERMINAL to the case when we can't find out the widthDenys Vlasenko2010-07-181-9/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: cosmetics, no code changesDenys Vlasenko2010-07-181-26/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* depmod: generate "new-style" modules.dep with relative paths.Denys Vlasenko2010-07-181-29/+47
| | | | | | | | | | function old new delta parse_module 384 379 -5 depmod_main 590 559 -31 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-36) Total: -36 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dos2unix: fix the case w/o parametersDenys Vlasenko2010-07-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: move msh/lash config into hush.c, no code changesDenys Vlasenko2010-07-162-23/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cttyhack: move build system bits into cttyhack.c, no code changesDenys Vlasenko2010-07-166-49/+53
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak defconfigDenys Vlasenko2010-07-162-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: move config stuff into ash.c, no code chagesDenys Vlasenko2010-07-166-120/+126
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix multimple dependent variable expansion casesDenys Vlasenko2010-07-163-28/+107
| | | | | | | | | | | | | | | | function old new delta get_local_var_value 100 171 +71 expand_assignments 46 76 +30 reset_traps_to_defaults 229 238 +9 maybe_set_to_sigexit 47 50 +3 init_sigmasks 211 214 +3 builtin_trap 462 465 +3 expand_vars_to_list 2412 2408 -4 run_pipe 1568 1533 -35 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/2 up/down: 119/-39) Total: 80 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: make set -x support optionalDenys Vlasenko2010-07-165-127/+147
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: add support for set -xDenys Vlasenko2010-07-161-1/+39
| | | | | | | | | | | | | | | function old new delta run_pipe 1442 1568 +126 dump_cmd_in_x_mode - 126 +126 builtin_trap 441 462 +21 pseudo_exec_argv 171 187 +16 reset_traps_to_defaults 214 229 +15 check_and_run_traps 227 232 +5 hush_exit 98 101 +3 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 6/0 up/down: 312/0) Total: 312 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix typo in commentDenys Vlasenko2010-07-151-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix faloout from previous commitDenys Vlasenko2010-07-152-19/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: make pun_pipe loop clearer; fix "cmd | var=`cmd` | cmd" handlingDenys Vlasenko2010-07-141-16/+26
| | | | | | | | | | | function old new delta free_strings - 38 +38 pseudo_exec_argv 161 171 +10 free_pipe 227 205 -22 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 48/-22) Total: 26 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: disable some applets by defaultDenys Vlasenko2010-07-142-7/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* util-linux: move VOLUMEID to a submenuDenys Vlasenko2010-07-141-215/+220
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: add tie breaking for topmem modeDenys Vlasenko2010-07-131-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* acpid: old kernel headers compatDenys Vlasenko2010-07-121-1/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mktemp: fix "mktemp /path/to/tempfile.XXXXXX"Denys Vlasenko2010-07-121-1/+2
| | | | | | | function old new delta mktemp_main 152 167 +15 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: fix progress displayDenys Vlasenko2010-07-121-1/+1
| | | | | | | function old new delta progress_meter 187 199 +12 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more: style fix. no code changesDenys Vlasenko2010-07-121-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: mention other cronds' behavior in comment. no code changesDenys Vlasenko2010-07-111-4/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove unzip doc: we don't have 100% proof it's ok to distributeDenys Vlasenko2010-07-101-0/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* diff: make diff -r much less eager to recurse into directoriesDenys Vlasenko2010-07-101-1/+22
| | | | | | | | function old new delta skip_dir 44 120 +76 diff_main 1175 1185 +10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Modprobe: Make -l open the right fileLauri Kasanen2010-07-101-5/+5
| | | | | | | | | | Before: modprobe -l modules.dep not found No size change, just moved the chdir. Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* diff: cosmetic change on top of last commitDenys Vlasenko2010-07-091-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* diff: fix "diff dir1 dir2/". Closes bug 2203Matheus Izvekov2010-07-092-4/+33
| | | | | Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix make O=dir buildDenys Vlasenko2010-07-093-2/+23
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: code shrinkDenys Vlasenko2010-07-081-36/+31
| | | | | | | | function old new delta crond_main 1431 1472 +41 fork_job 457 389 -68 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: rename HumpBack names. Note two TODOs/FIXMEsDenys Vlasenko2010-07-081-311/+322
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: check mtime on crontab dir every minute, and reread if changedDenys Vlasenko2010-07-081-39/+36
| | | | | | | function old new delta crond_main 1417 1460 +43 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: reorder functions to follow usual order: "main last"Denys Vlasenko2010-07-081-231/+221
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>