- do away with useless fwd-decls, redundant bb_printf calls, silence warning about comparing signed and unsigned and make stuff static. text data bss dec hex filename 6944 0 0 6944 1b20 util-linux/ipcs.o.oorig 6509 0 0 6509 196d util-linux/ipcs.oTODO: bb_getopt_ulflags, and further simplifications
- set flags in a more reasonable manner. Thanks, vodz. text data bss dec hex filename
3520 4 96 3620 e24 networking/arping.o.oorig
3488 4 96 3588 e04 networking/arping.o
- janitorial: huft_build is never used outside of decompress_unzip.c and has no prototype (which suggests that it's of no general use) so make it static for now.
- switch Warning Of the Week to wrong or missing prototypes. e.g. archival/uncompress.c wrongly includes libbb.h instead of busybox.h
decompress_bunzip2.c,open_transformer.c don't include the proper "unarchive.h"
etc, etc.
Patch from KRONSTORFER Horst to Fix a size mismatch in ping, such as the 56/84mismatch inthe following example:
# ping -c 1 172.16.2.1
PING 172.16.2.1 (172.16.2.1): 56 data bytes
84 bytes from 172.16.2.1: icmp_seq=0 ttl=64 time=0.2 ms
- use RESERVE_CONFIG_BUFFER and a bit of whitespace-cleanup. defconfig: text data bss dec hex filename
1307 0 0 1307 51b util-linux/hwclock.o.oorig
1255 0 0 1255 4e7 util-linux/hwclock.o
fix from David Daney, on busybox mailing list: > The problem is that if the zcip protocol times out at about the same
> time another ARP packet is being received, the newly calculated timeout
> may be set to wait forever. This prevents the protocol from progressing
> through its various states.
>
> The Fix is to set the timeout to zero if it used to be a positive
> number, but it has already expired. This causes the next proto...
- shrink mkswap and make v0 support optional. Thanks also to Tito for his ideas. http://busybox.net/lists/busybox/2006-March/019326.html 2137 8 28 2173 87d util-linux/mkswap.o.orig
1890 8 28 1926 786 util-linux/mkswap.o.v0+v1
1560 4 28 1592 638 util-linux/mkswap.o.v1
Mike Frysinger pointed out we can go CFLAGS=-I/usr/some/funky/path/to/selinux \
LDFLAGS=-L/usr/some/funky/path/to/selinux make
So Jan Kiszka reverted part of the selinux patch.
ensure that corrupted file extraction causes both a message and a failure exit code. delay the error exit until all (good) files have been extracted.filesystem errors (nodes of wrong type, permission problems, etc)
still cause immediate failure.