oweals/busybox.git
16 years agonetworking/interface.c: fix indentation
Denis Vlasenko [Wed, 4 Jun 2008 07:59:51 +0000 (07:59 -0000)]
networking/interface.c: fix indentation

16 years agoRemove stray debug instrumentation
Denis Vlasenko [Mon, 2 Jun 2008 22:24:34 +0000 (22:24 -0000)]
Remove stray debug instrumentation

16 years agomake the help for rtcwake reflect the actual default behavior
Mike Frysinger [Mon, 2 Jun 2008 20:37:45 +0000 (20:37 -0000)]
make the help for rtcwake reflect the actual default behavior

16 years ago- add FIXME. Perhaps somebody is interrested in looking into this one.
Bernhard Reutner-Fischer [Mon, 2 Jun 2008 19:23:47 +0000 (19:23 -0000)]
- add FIXME. Perhaps somebody is interrested in looking into this one.
  We would try to be clever and compare the *data instead of the *elt.

Somethink like this might be of more general use:
/* Unlink arbitrary element from the list that contains data */
void llist_unlink_data(llist_t **head, void *data)
{
    llist_t *elt;

    for (elt = *head; elt; elt = elt->link) {
        if (elt->data == data) {
            llist_unlink(elt);
            return;
        }
    }
}

16 years ago- add alias support
Bernhard Reutner-Fischer [Mon, 2 Jun 2008 18:59:16 +0000 (18:59 -0000)]
- add alias support

16 years ago- revert revision 22183 since it breaks -b /abs /abs/path/to/mod.ko
Bernhard Reutner-Fischer [Mon, 2 Jun 2008 13:40:13 +0000 (13:40 -0000)]
- revert revision 22183 since it breaks -b /abs /abs/path/to/mod.ko

16 years ago- just chdir to the basedir (-30b).
Bernhard Reutner-Fischer [Mon, 2 Jun 2008 13:34:36 +0000 (13:34 -0000)]
- just chdir to the basedir (-30b).

16 years ago- optional fancy pruning-mode for depmod
Bernhard Reutner-Fischer [Mon, 2 Jun 2008 13:28:47 +0000 (13:28 -0000)]
- optional fancy pruning-mode for depmod

16 years ago- pm_states[PM_SUSPEND_MAX] suggests to support "standby" and not "suspend"
Bernhard Reutner-Fischer [Mon, 2 Jun 2008 11:01:40 +0000 (11:01 -0000)]
- pm_states[PM_SUSPEND_MAX] suggests to support "standby" and not "suspend"
  Thanks to Paulius Zaleckas for mentioning this.

16 years agoReinstate CONFIG_CROSS_COMPILE_PREFIX
Denis Vlasenko [Mon, 2 Jun 2008 04:51:29 +0000 (04:51 -0000)]
Reinstate CONFIG_CROSS_COMPILE_PREFIX

16 years agoash: optional printf builtin. +25 bytes if off, +35 if on.
Denis Vlasenko [Sun, 1 Jun 2008 22:36:39 +0000 (22:36 -0000)]
ash: optional printf builtin. +25 bytes if off, +35 if on.
by Cristian Ionescu-Idbohrn.

16 years agomsh: fix ENOENT testcase
Denis Vlasenko [Sun, 1 Jun 2008 14:16:54 +0000 (14:16 -0000)]
msh: fix ENOENT testcase

16 years ago- use ut_user rather than ut_name (Cristian Ionescu-Idbohrn)
Bernhard Reutner-Fischer [Sun, 1 Jun 2008 10:10:22 +0000 (10:10 -0000)]
- use ut_user rather than ut_name (Cristian Ionescu-Idbohrn)
- use ut_tv.tv_sec rather than ut_time (me)
- shrink halt a little bit (me):
halt_main                                            464     433     -31
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-31)             Total: -31 bytes

16 years ago- shrink modprobe a little bit (~-40 bytes). ACKed by Yann.
Bernhard Reutner-Fischer [Sat, 31 May 2008 18:50:17 +0000 (18:50 -0000)]
- shrink modprobe a little bit (~-40 bytes). ACKed by Yann.

16 years agoprintf: fix a trivial bug
Denis Vlasenko [Sat, 31 May 2008 18:32:56 +0000 (18:32 -0000)]
printf: fix a trivial bug

16 years agomdev: add commented-out debug code to open stdio.
Denis Vlasenko [Sat, 31 May 2008 18:27:58 +0000 (18:27 -0000)]
mdev: add commented-out debug code to open stdio.

16 years agoprintf: code shrink by eliminating string alloc/copy
Denis Vlasenko [Sat, 31 May 2008 11:41:50 +0000 (11:41 -0000)]
printf: code shrink by eliminating string alloc/copy

function                                             old     new   delta
print_direc                                          428     382     -46

16 years agolibiproute: fix option parsing, so that "ip -o link" works again.
Denis Vlasenko [Sat, 31 May 2008 07:34:14 +0000 (07:34 -0000)]
libiproute: fix option parsing, so that "ip -o link" works again.
closes bug 3524

16 years agolibiproute: style fixes, and using smallint as appropriate
Denis Vlasenko [Sat, 31 May 2008 07:33:18 +0000 (07:33 -0000)]
libiproute: style fixes, and using smallint as appropriate

function                                             old     new   delta
print_route                                         1730    1731      +1
print_addrinfo                                      1497    1498      +1
iproute_list_or_flush                               1232    1229      -3
ipaddr_list_or_flush                                2490    2484      -6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 2/-9)               Total: -7 bytes

16 years agorunsvdir: make it more robust against libc buglets (errno accidentally set to !0)
Denis Vlasenko [Sat, 31 May 2008 07:00:33 +0000 (07:00 -0000)]
runsvdir: make it more robust against libc buglets (errno accidentally set to !0)
closes bug 3514

function                                             old     new   delta
runsvdir_main                                       1672    1664      -8

16 years agomsh: fix the case where the file has exec bit but can't be run directly
Denis Vlasenko [Fri, 30 May 2008 22:28:32 +0000 (22:28 -0000)]
msh: fix the case where the file has exec bit but can't be run directly
     (run "$SHELL $file" instead)
msh: fix exit codes when command is not found or can't be execed
     (with testcases)

16 years ago- add FIXME to use hasmntopt()
Bernhard Reutner-Fischer [Fri, 30 May 2008 10:44:37 +0000 (10:44 -0000)]
- add FIXME to use hasmntopt()

16 years ago- fix overflow; improve documentation while at it
Bernhard Reutner-Fischer [Wed, 28 May 2008 15:57:31 +0000 (15:57 -0000)]
- fix overflow; improve documentation while at it

16 years agofuser: a now, the corrected fix (vda botched previous one)
Denis Vlasenko [Wed, 28 May 2008 14:57:58 +0000 (14:57 -0000)]
fuser: a now, the corrected fix (vda botched previous one)

16 years ago- misc. improvements and shrinkage
Bernhard Reutner-Fischer [Wed, 28 May 2008 14:20:20 +0000 (14:20 -0000)]
- misc. improvements and shrinkage

16 years ago- add strrchr
Bernhard Reutner-Fischer [Wed, 28 May 2008 14:19:27 +0000 (14:19 -0000)]
- add strrchr

16 years agofiser: opendir "/proc", not "." (by Cristian Ionescu-Idbohrn)
Denis Vlasenko [Wed, 28 May 2008 12:44:22 +0000 (12:44 -0000)]
fiser: opendir "/proc", not "." (by Cristian Ionescu-Idbohrn)

16 years agofind: beautify config prompts a bit
Denis Vlasenko [Wed, 28 May 2008 12:00:59 +0000 (12:00 -0000)]
find: beautify config prompts a bit

16 years agoRemove 'busybox' word from configuration programs
Denis Vlasenko [Wed, 28 May 2008 11:59:32 +0000 (11:59 -0000)]
Remove 'busybox' word from configuration programs
(based on experience of adapting it to uclibc).

16 years ago- move depmod shell script to examples/
Bernhard Reutner-Fischer [Wed, 28 May 2008 11:21:20 +0000 (11:21 -0000)]
- move depmod shell script to examples/

16 years ago- the moddir_base is supposed to be omitted frmo the .dep file
Bernhard Reutner-Fischer [Wed, 28 May 2008 10:35:51 +0000 (10:35 -0000)]
- the moddir_base is supposed to be omitted frmo the .dep file
- other tweaks while at it

16 years ago- Spaghetti alert. Fix clash with ancient fwd-decl. This is an unfortunate
Bernhard Reutner-Fischer [Tue, 27 May 2008 13:27:18 +0000 (13:27 -0000)]
- Spaghetti alert. Fix clash with ancient fwd-decl. This is an unfortunate
  combination of linux not providing a useable linux/module.h to userspace and
  mixing legacy-cruft with the current stuff in one insmod.c.

16 years ago- remove duplicate helptext of dhcprelay and improve it
Bernhard Reutner-Fischer [Tue, 27 May 2008 12:42:39 +0000 (12:42 -0000)]
- remove duplicate helptext of dhcprelay and improve it

16 years ago- Add config option for DEFAULT_DEPMOD_FILE and DEFAULT_DEPMOD_FILE.
Bernhard Reutner-Fischer [Tue, 27 May 2008 10:55:34 +0000 (10:55 -0000)]
- Add config option for DEFAULT_DEPMOD_FILE and DEFAULT_DEPMOD_FILE.
  No obj-code changes.

16 years ago- use (uC)libc functions. Saves a dozen bytes.
Bernhard Reutner-Fischer [Tue, 27 May 2008 10:13:54 +0000 (10:13 -0000)]
- use (uC)libc functions. Saves a dozen bytes.

16 years agovda, xmalloc'ing can use *alot* of RAM. Don't forget that there are
Bernhard Reutner-Fischer [Tue, 27 May 2008 09:06:05 +0000 (09:06 -0000)]
vda, xmalloc'ing can use *alot* of RAM. Don't forget that there are
   modules out there that are half a megabyte! mmap()ing is way nicer
   for small mem boxes.

16 years ago- improve help-text
Bernhard Reutner-Fischer [Tue, 27 May 2008 08:41:32 +0000 (08:41 -0000)]
- improve help-text

16 years ago- improve option-handling a bit
Bernhard Reutner-Fischer [Mon, 26 May 2008 21:33:05 +0000 (21:33 -0000)]
- improve option-handling a bit

16 years agoscripts: add a script which prints memory map of running busybox
Denis Vlasenko [Mon, 26 May 2008 18:41:35 +0000 (18:41 -0000)]
scripts: add a script which prints memory map of running busybox

16 years agoscripts: add primitive memory usage meter script
Denis Vlasenko [Mon, 26 May 2008 18:36:37 +0000 (18:36 -0000)]
scripts: add primitive memory usage meter script

16 years agoudhcpc: shrink
Denis Vlasenko [Mon, 26 May 2008 17:32:35 +0000 (17:32 -0000)]
udhcpc: shrink
udhcpc: guard against zero lease time

function                                             old     new   delta
timeout                                                4       -      -4
server_addr                                            4       -      -4
requested_ip                                           4       -      -4
perform_release                                      134     112     -22
udhcpc_main                                         2511    2485     -26
------------------------------------------------------------------------------
(add/remove: 0/3 grow/shrink: 0/2 up/down: 0/-60)             Total: -60 bytes

16 years ago- add basic option-handling (+220b). Untested
Bernhard Reutner-Fischer [Mon, 26 May 2008 17:04:01 +0000 (17:04 -0000)]
- add basic option-handling (+220b). Untested

16 years ago- use mmap instead of allocating hundreds of megabytes of RAM. +39b
Bernhard Reutner-Fischer [Mon, 26 May 2008 15:12:01 +0000 (15:12 -0000)]
- use mmap instead of allocating hundreds of megabytes of RAM. +39b

16 years ago- remove some bloat -28b: now approx. 501b
Bernhard Reutner-Fischer [Mon, 26 May 2008 13:30:41 +0000 (13:30 -0000)]
- remove some bloat -28b: now approx. 501b

16 years ago- switch to FILE base writer and remove now unneeded stuff. -50b
Bernhard Reutner-Fischer [Mon, 26 May 2008 12:19:35 +0000 (12:19 -0000)]
- switch to FILE base writer and remove now unneeded stuff. -50b

16 years ago- add simple first-draft unoptimized depmod just to proove Vladimir Dronnikov wrong
Bernhard Reutner-Fischer [Mon, 26 May 2008 12:01:49 +0000 (12:01 -0000)]
- add simple first-draft unoptimized depmod just to proove Vladimir Dronnikov wrong
   text    data     bss     dec     hex filename
    569       0       0     569     239 modutils/depmod.o

16 years ago[u]mount: add/update dietlibc build fix
Denis Vlasenko [Mon, 26 May 2008 01:19:53 +0000 (01:19 -0000)]
[u]mount: add/update dietlibc build fix

16 years agolineedit: correctly handle prompt longer than screen width. closes bug 3414
Denis Vlasenko [Sun, 25 May 2008 21:52:03 +0000 (21:52 -0000)]
lineedit: correctly handle prompt longer than screen width. closes bug 3414

16 years agohush: make it ignore SIGINT etc in a config wich has no job control
Denis Vlasenko [Sun, 25 May 2008 21:50:55 +0000 (21:50 -0000)]
hush: make it ignore SIGINT etc in a config wich has no job control

16 years agomove setgroups definition to libbb.h so that it no longer inadvertently
Denis Vlasenko [Sun, 25 May 2008 04:31:54 +0000 (04:31 -0000)]
move setgroups definition to libbb.h so that it no longer inadvertently
get hidden attribute

16 years agolast: code shrink
Denis Vlasenko [Sun, 25 May 2008 01:14:14 +0000 (01:14 -0000)]
last: code shrink

function                                             old     new   delta
show_entry                                           319     311      -8
last_main                                            917     907     -10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-18)             Total: -18 bytes

16 years agosyslogd: do not error out on missing files to rotate. closes bug 3404.
Denis Vlasenko [Sat, 24 May 2008 21:03:53 +0000 (21:03 -0000)]
syslogd: do not error out on missing files to rotate. closes bug 3404.

16 years agodocs/depmod: and example of depmod in shell/sed/awk...
Denis Vlasenko [Sat, 24 May 2008 20:54:14 +0000 (20:54 -0000)]
docs/depmod: and example of depmod in shell/sed/awk...

16 years agoinotify: new applet by Vladimir Dronnikov <dronnikov AT gmail.com>
Denis Vlasenko [Sat, 24 May 2008 20:47:18 +0000 (20:47 -0000)]
inotify: new applet by Vladimir Dronnikov <dronnikov AT gmail.com>

function                                             old     new   delta
inotifyd_main                                          -     453    +453
packed_usage                                       24246   24450    +204
inotify_add_watch                                      -      47     +47
inotify_init                                           -      29     +29
mask_names                                             -      13     +13
signal_handler                                       130     140     +10
applet_names                                        1859    1868      +9
applet_main                                         1132    1136      +4
applet_nameofs                                       566     568      +2
signalled                                              1       2      +1

16 years agomdev: fix counting of '%' in pattern
Denis Vlasenko [Sat, 24 May 2008 16:46:13 +0000 (16:46 -0000)]
mdev: fix counting of '%' in pattern

16 years agomdev: fix whitespace damage
Denis Vlasenko [Fri, 23 May 2008 20:36:33 +0000 (20:36 -0000)]
mdev: fix whitespace damage

16 years ago- optionally pass additional flags down to nm
Bernhard Reutner-Fischer [Fri, 23 May 2008 12:53:18 +0000 (12:53 -0000)]
- optionally pass additional flags down to nm

16 years ago- not sure but i may have had the shutdown-time wrong and no records to verify
Bernhard Reutner-Fischer [Thu, 22 May 2008 22:05:55 +0000 (22:05 -0000)]
- not sure but i may have had the shutdown-time wrong and no records to verify

16 years ago- untangle the implementation of the small and huge last applets
Bernhard Reutner-Fischer [Thu, 22 May 2008 21:56:26 +0000 (21:56 -0000)]
- untangle the implementation of the small and huge last applets

16 years agomdev: suppress "may be used uninitialized" warning
Denis Vlasenko [Thu, 22 May 2008 21:35:16 +0000 (21:35 -0000)]
mdev: suppress "may be used uninitialized" warning

16 years agomdev: add support for "only rename" option in mdev.conf
Denis Vlasenko [Thu, 22 May 2008 17:49:58 +0000 (17:49 -0000)]
mdev: add support for "only rename" option in mdev.conf

16 years agodnsd: fixes various segfaults.
Denis Vlasenko [Thu, 22 May 2008 17:41:01 +0000 (17:41 -0000)]
dnsd: fixes various segfaults.
One was a lib api change that was not updated and another
is a stack buffer overflow.
It also adds support for '*' in dnsd.conf. It resolves all hostnames to
a specific ip address. This is useful if you for example want redirect
all http traffic to your first-boot-web-wizard on you router/firewall.

By Timo Teras

16 years agomodprobe: fix for blacklisting
Denis Vlasenko [Thu, 22 May 2008 17:37:38 +0000 (17:37 -0000)]
modprobe: fix for blacklisting

The patch makes the order of the alias/blacklist in modprobe.conf
irrelevant (like module-utils' modprobe). In first patch the alias had
to be defined before the blacklist which caused problems because the
modprobe.conf file is read before /lib/modules/*/modules.alias.

The attatched patch will mark the blacklisted module itself rather than
trying to find the alias that points to the blacklisted module and test
this flag later in the alias resolving stage.

16 years agolast: make its output more like "standard" last (aka "fancy last").
Denis Vlasenko [Thu, 22 May 2008 17:35:22 +0000 (17:35 -0000)]
last: make its output more like "standard" last (aka "fancy last").
The main difference is that LOGIN lines are still shown by non-fancy one.

function                                             old     new   delta
static._ut_usr                                         -      26     +26
last_main                                            448     471     +23
static._ut_lin                                         -       7      +7
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 1/0 up/down: 56/0)               Total: 56 bytes

16 years agolast: trim format string a bit
Denis Vlasenko [Thu, 22 May 2008 17:14:09 +0000 (17:14 -0000)]
last: trim format string a bit

16 years agolast: trim help text
Denis Vlasenko [Thu, 22 May 2008 02:10:50 +0000 (02:10 -0000)]
last: trim help text

16 years agolast: optional alternative sysv-like implementation
Denis Vlasenko [Thu, 22 May 2008 02:07:58 +0000 (02:07 -0000)]
last: optional alternative sysv-like implementation
(by Patricia Muscalu <patricia.muscalu AT axis.com>)

function                                             old     new   delta
last_main                                            448     917    +469
show_entry                                             -     319    +319
packed_usage                                       24216   24268     +52
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 840/0)             Total: 840 bytes

16 years ago- make Christian happy
Bernhard Reutner-Fischer [Wed, 21 May 2008 21:15:37 +0000 (21:15 -0000)]
- make Christian happy

16 years ago- skip empty lines and archive members
Bernhard Reutner-Fischer [Wed, 21 May 2008 10:32:39 +0000 (10:32 -0000)]
- skip empty lines and archive members

16 years agoudhcpc: regularize the names of receiving functions,
Denis Vlasenko [Wed, 21 May 2008 07:05:06 +0000 (07:05 -0000)]
udhcpc: regularize the names of receiving functions,
pause on "serious failure to receive".
Some misc fixes are also folded in here.

16 years agoudhcpc: simplify renewal of the lease
Denis Vlasenko [Wed, 21 May 2008 07:03:03 +0000 (07:03 -0000)]
udhcpc: simplify renewal of the lease

16 years agoudhcpc: properly reduce timeout if bogus packets were received
Denis Vlasenko [Wed, 21 May 2008 07:02:16 +0000 (07:02 -0000)]
udhcpc: properly reduce timeout if bogus packets were received

16 years agofix another -Wall warning
Denis Vlasenko [Tue, 20 May 2008 20:44:08 +0000 (20:44 -0000)]
fix another -Wall warning

16 years agoifenslave: add forgotten INIT_G()
Denis Vlasenko [Tue, 20 May 2008 18:57:35 +0000 (18:57 -0000)]
ifenslave: add forgotten INIT_G()

16 years ago- Rob sais that he rewrote it, so reinstate the GPLv2-only boilerplate.
Bernhard Reutner-Fischer [Tue, 20 May 2008 08:27:26 +0000 (08:27 -0000)]
- Rob sais that he rewrote it, so reinstate the GPLv2-only boilerplate.

16 years agofix "make bigdata" to not show weak aliases
Denis Vlasenko [Tue, 20 May 2008 06:31:56 +0000 (06:31 -0000)]
fix "make bigdata" to not show weak aliases

16 years ago- improve readability
Bernhard Reutner-Fischer [Mon, 19 May 2008 10:28:32 +0000 (10:28 -0000)]
- improve readability

16 years ago- use STD*_FILENO some more. No object-code changes
Bernhard Reutner-Fischer [Mon, 19 May 2008 09:48:17 +0000 (09:48 -0000)]
- use STD*_FILENO some more. No object-code changes

16 years ago- use EXIT_{SUCCESS,FAILURE}. No object-code changes
Bernhard Reutner-Fischer [Mon, 19 May 2008 09:29:47 +0000 (09:29 -0000)]
- use EXIT_{SUCCESS,FAILURE}. No object-code changes

16 years ago- mention FIXME use find_mount_point()
Bernhard Reutner-Fischer [Mon, 19 May 2008 08:40:26 +0000 (08:40 -0000)]
- mention FIXME use find_mount_point()

16 years ago- improve wording
Bernhard Reutner-Fischer [Mon, 19 May 2008 08:25:23 +0000 (08:25 -0000)]
- improve wording

16 years ago- Rename getpty() to xgetpty() and adjust callers.
Bernhard Reutner-Fischer [Mon, 19 May 2008 08:18:50 +0000 (08:18 -0000)]
- Rename getpty() to xgetpty() and adjust callers.
- Rewrite kbd_mode and setconsole
- Introduce and use console_make_active() and xopen_xwrite_close()
- honour buffer-reservation method as set by the user (dumpkmap, loadkmap)
- shrink rtcwake and some console-tools

  Saves about 270 Bytes

16 years agoswapon: optional -p PRIO support (by Francois Barel <frabar666 AT gmail.com>)
Denis Vlasenko [Sun, 18 May 2008 23:05:34 +0000 (23:05 -0000)]
swapon: optional -p PRIO support (by Francois Barel <frabar666 AT gmail.com>)

function                                             old     new   delta
swap_on_off_main                                     153     216     +63
packed_usage                                       24190   24214     +24
swap_enable_disable                                  127     131      +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 91/0)               Total: 91 bytes

16 years agomore -Wall warning fixes. -Wall is enabled now.
Denis Vlasenko [Sun, 18 May 2008 22:28:26 +0000 (22:28 -0000)]
more -Wall warning fixes. -Wall is enabled now.

16 years agostart_stop_daemon: add -test, fix -x to not match by inode,
Denis Vlasenko [Sun, 18 May 2008 21:17:52 +0000 (21:17 -0000)]
start_stop_daemon: add -test, fix -x to not match by inode,
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

16 years agohttpd: fix obscure case when user runs httpd -i from command line for testing.
Denis Vlasenko [Sun, 18 May 2008 15:14:36 +0000 (15:14 -0000)]
httpd: fix obscure case when user runs httpd -i from command line for testing.
(fixes bug 3334)

function                                             old     new   delta
httpd_main                                           743     757     +14
handle_incoming_and_exit                            2657    2669     +12
log_and_exit                                          75      43     -32
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 26/-32)             Total: -6 bytes

16 years agomodprobe: optional "blacklist" command support (by Natanael Copa)
Denis Vlasenko [Sun, 18 May 2008 14:39:43 +0000 (14:39 -0000)]
modprobe: optional "blacklist" command support (by Natanael Copa)

is_conf_command                                        -      56     +56
include_conf                                         898     917     +19
check_dep                                            348     356      +8
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 83/0)               Total: 83 bytes

16 years agoprintf: fix printf -%s- foo, printf -- -%s- foo (bug 3354)
Denis Vlasenko [Sun, 18 May 2008 14:28:40 +0000 (14:28 -0000)]
printf: fix printf -%s- foo, printf -- -%s- foo (bug 3354)

function                                             old     new   delta
printf_main                                          577     548     -29

16 years agoash: more of -Wall fixes
Denis Vlasenko [Sun, 18 May 2008 14:06:08 +0000 (14:06 -0000)]
ash: more of -Wall fixes

16 years agolast: style fixes
Denis Vlasenko [Sat, 17 May 2008 23:50:14 +0000 (23:50 -0000)]
last: style fixes

16 years agoinsmod: build fix for microblaze (by Greg Steuck <greg AT nest.cx>)
Denis Vlasenko [Sat, 17 May 2008 02:47:55 +0000 (02:47 -0000)]
insmod: build fix for microblaze (by Greg Steuck <greg AT nest.cx>)

16 years agotwo fixlets for -Wall
Denis Vlasenko [Sat, 17 May 2008 02:36:28 +0000 (02:36 -0000)]
two fixlets for -Wall

16 years agofix bug 2704: remove verbatim RFC text from source
Denis Vlasenko [Sat, 17 May 2008 01:26:15 +0000 (01:26 -0000)]
fix bug 2704: remove verbatim RFC text from source
(this creates problems for Debian).

16 years ago- accept ip l s ib0 addr 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
Bernhard Reutner-Fischer [Fri, 16 May 2008 17:19:03 +0000 (17:19 -0000)]
- accept ip l s ib0 addr 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

16 years ago- very minor shrinkage
Bernhard Reutner-Fischer [Fri, 16 May 2008 16:55:17 +0000 (16:55 -0000)]
- very minor shrinkage
  odd that this saved 1byte. And there could be something wrong with
  ifcombine or the like since omitting the braces produces bigger code?

16 years ago- add appropriate string for arp header #32 for use by ip(8)
Bernhard Reutner-Fischer [Fri, 16 May 2008 16:21:00 +0000 (16:21 -0000)]
- add appropriate string for arp header #32 for use by ip(8)

16 years ago- fix bug where we incorrectly rejected ifconfig eth0 hw ether $whatever
Bernhard Reutner-Fischer [Fri, 16 May 2008 16:10:31 +0000 (16:10 -0000)]
- fix bug where we incorrectly rejected ifconfig eth0 hw ether $whatever
- add support for printing ipoib to ifconfig

16 years ago- fix compilation on x86_64
Bernhard Reutner-Fischer [Fri, 16 May 2008 16:00:38 +0000 (16:00 -0000)]
- fix compilation on x86_64

16 years ago- mention duplication of in_ether()
Bernhard Reutner-Fischer [Fri, 16 May 2008 14:35:34 +0000 (14:35 -0000)]
- mention duplication of in_ether()

16 years ago- provide proc-less sample
Bernhard Reutner-Fischer [Fri, 16 May 2008 11:36:32 +0000 (11:36 -0000)]
- provide proc-less sample
- improve wording