17a1526f9e
sed: a communal variable managed to slip past 'size' ('size' happily displays 0 bytes in data and bss, but in reality sed.o used 180 bytes of it). Oh well. function old new delta pipe_putc 67 76 +9 sed_main 627 633 +6 get_next_line 161 166 +5 bbg 180 - -180 (add/remove: 0/1 grow/shrink: 3/0 up/down: 20/-180) Total: -160 bytes
Denis Vlasenko
2007-03-26 20:48:46 +00:00
91dd275f05
split: let me join bikeshed painting frenzy :) this one should be able to handle huge files. text data bss dec hex filename 664 4 0 668 29c busybox.t0/coreutils/split.o 628 0 0 628 274 busybox.t1/coreutils/split.o split_main 488 525 +37 suffix_len 4 - -4 next_file 77 - -77 (add/remove: 0/2 grow/shrink: 1/0 up/down: 37/-81) Total: -44 bytes
Denis Vlasenko
2007-03-26 20:15:40 +00:00
576de34d1c
- check the suffix proper plus misc touch up
Bernhard Reutner-Fischer
2007-03-26 18:19:29 +00:00
afa7023b46
zcip: make it work on NOMMU (+ improve NOMMU support machinery) fsck: fix bad English in a comment
Denis Vlasenko
2007-03-26 17:25:33 +00:00
4e1361a481
- add usage for split
Bernhard Reutner-Fischer
2007-03-26 14:38:03 +00:00
b813eaff23
- implement suffices as required by SUSv3 - fix glitch in next_file (suffices were exhaused too early).
Bernhard Reutner-Fischer
2007-03-26 14:28:12 +00:00
53091ecd20
Attempt to get more applets compile for NOMMU. TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage).
Denis Vlasenko
2007-03-26 13:35:09 +00:00
ec1a4b5a52
pidfile.c: not used anymore BTW, previous change removed pidfile locking, -700 code (static compile)
Denis Vlasenko
2007-03-26 13:24:24 +00:00
af1c84360f
Move udhcp to new NOMMU helpers. Fix server part to compile under NOMMU. Client is not compilable yet. On MMU everything compiles (and maybe even works :)
Denis Vlasenko
2007-03-26 13:22:35 +00:00
5a142025d3
move everything to new NOMMU helpers, except udhcp
Denis Vlasenko
2007-03-26 13:20:54 +00:00
bb7fcb4229
libbb: rework NOMMU helper API so that it makes more sense and easier to use. Doesn't compile - need two more commits.
Denis Vlasenko
2007-03-26 13:20:04 +00:00
f62c6fa1ca
nmeter: should die if stdout doesn't like him anymore
Denis Vlasenko
2007-03-26 13:16:22 +00:00
cd43dfdeec
- shrink a tiny bit (-8b)
Bernhard Reutner-Fischer
2007-03-26 10:46:31 +00:00
cad04ef4f3
add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy
Denis Vlasenko
2007-03-25 23:21:05 +00:00
10f8f5f443
- rough prototype for split(1). TODO: Still needs some love since it's way too big.. text data bss dec hex filename 602 4 0 606 25e coreutils/split.o
Bernhard Reutner-Fischer
2007-03-25 21:50:18 +00:00
55f30b05ac
inetd,ed,msh: data/bss reduction (in mss, more than 9k of it)
Denis Vlasenko
2007-03-24 22:42:29 +00:00
c0415a9833
login: nuke nonblock() - we have it in libbb; -400 bytes bss.
Denis Vlasenko
2007-03-24 17:04:07 +00:00
8a503be840
#ifdef out re_execed on MMU machines
Denis Vlasenko
2007-03-24 16:13:33 +00:00
7695328575
adduser: don't bomb out if shadow password file doesn't exist (from Tito <farmatito@tiscali.it>)
Denis Vlasenko
2007-03-24 16:06:46 +00:00
5b27fbe990
dc: use common_bufsiz1 for evaluation stack msh: fix "underscore bug" (a_b=1111 didn't work) dnsd: openlog(), so that applet's name is logged
Denis Vlasenko
2007-03-24 14:06:51 +00:00
b5b45a91f0
dnsd: last commit had a typo :(
Denis Vlasenko
2007-03-24 13:09:07 +00:00
d3bac03988
dnsd: fix several buglets, make smaller
Denis Vlasenko
2007-03-24 12:13:04 +00:00
9067f13be0
NOMMU re-exec trick shuld not depend on existence of "don't daemonize" option for every affected applet (and dnsd, for example, don't have one). Thus rework re-exec support to not require it. Code got smaller too.
Denis Vlasenko
2007-03-24 12:11:17 +00:00
6111a8f2e7
- don't automatically select run-parts but point out that this is a system-utility in the strict sense.
Bernhard Reutner-Fischer
2007-03-19 20:28:03 +00:00
16deb86746
- very minor size tweak. TODO: mv to globals, config-out non-busybox dhcp client stuff, reduce string bloat, etc text data bss dec hex filename 7543 0 28 7571 1d93 networking/ifupdown.o.orig 7515 0 28 7543 1d77 networking/ifupdown.o
Bernhard Reutner-Fischer
2007-03-19 19:54:56 +00:00
be862096c0
- be gentle to the intel compiler and make sure we have __u64 which is needed for linux/loop.h
Bernhard Reutner-Fischer
2007-03-19 15:15:06 +00:00
f24cdf1554
telnet: someone tried to do data optimization before me. Complete it. text data bss dec hex filename 2558 0 404 2962 b92 busybox.t2/networking/telnet.o 2542 0 0 2542 9ee busybox.t3/networking/telnet.o
Denis Vlasenko
2007-03-19 14:47:09 +00:00
dfce08f281
fdisk: bb_common_bufsiz1 is too small for globals on 64-bit CPU
Denis Vlasenko
2007-03-19 14:45:10 +00:00
bd852076b9
fdisk: get rid of _() macro. Shorten some messages. Stop using stderr - anyone who tries to use fdisk no-interactively is "strange" anyway. Improve storage handling in bsd module. text data bss dec hex filename 728112 1488 33788 763388 ba5fc busybox.t0/busybox 727248 1488 33372 762108 ba0fc busybox.t1/busybox
Denis Vlasenko
2007-03-19 14:43:38 +00:00
de8a6a01d8
Kim B. Heino writes: When installing a new package with dpkg dependencies are checked correctly. But when I try to update an existing package, the dependencies are checked against the old package, not against new package. Thus the new package can break dependencies.
Bernhard Reutner-Fischer
2007-03-19 13:44:18 +00:00
41e1dc3f8b
make clean deletes .kernelrelease now trylink deleted empty linker stderr on success
Denis Vlasenko
2007-03-18 21:45:21 +00:00
4b4b619c9c
include <stddef.h> so that ptrdiff_t is again available
Denis Vlasenko
2007-03-18 20:33:26 +00:00
081ef799fa
random fixes to help text
Denis Vlasenko
2007-03-17 16:38:21 +00:00
7a96504d30
dont use obsolete function index() as pointed out by src.obsolete.funcs
Mike Frysinger
2007-03-17 06:29:05 +00:00
75acbe322c
punt useless header as pointed out by src.obsolete.headers
Mike Frysinger
2007-03-17 06:27:38 +00:00
757ed50841
fix typo as pointed out by src.obsolete.funcs
Mike Frysinger
2007-03-17 06:26:51 +00:00
4b0bb9e0fd
sed: fix very obscure case of escaped newline in sed command (needed for uclibc build, btw). Add testcase for it.
Denis Vlasenko
2007-03-16 23:36:58 +00:00
486e7ca6b7
- touchup wording a bit
Bernhard Reutner-Fischer
2007-03-16 11:14:38 +00:00
84a9b8750e
build system: produce link map. Rather useful when you are wondering why your busybox is much bigger that you hoped for.
Denis Vlasenko
2007-03-15 23:44:10 +00:00
3ce293b585
gunzip: s/unsigned char extra_short/unsigned extra_short/ we can unzip openssh-4.3p2.tar.gz now :)
Denis Vlasenko
2007-03-15 23:30:18 +00:00
4efeaee387
mkfs_minix: stop using lots of bss/data. data -3500 bytes, code -300 bytes keep_data_small: expand/fix
Denis Vlasenko
2007-03-15 19:52:42 +00:00
5e892bae51
syslogd: reduce data/bss usage. Code size is practically the same.
Denis Vlasenko
2007-03-15 19:50:46 +00:00
1cc70225e7
networking/interface.c: was doing really strange caching of fd's open for getting ifconfig data - ??! Simplified all that. -200 bytes.
Denis Vlasenko
2007-03-15 19:46:43 +00:00
54d14ca1a2
copy_file: comment out one condition which is always false. Add comment explaining POSIX rules for cp - and why these rules are dangerous. Provide conditionally compiled code for both POSIX and safe behaviors, select safe for now. Code shrunk by ~80 bytes.
Denis Vlasenko
2007-03-15 13:33:37 +00:00
24af7201e9
fix TODO: getopt32 should reset optind to 1 itself
Denis Vlasenko
2007-03-15 13:28:46 +00:00
972288e62f
modify ptr_to_globals trick so that we do not violate type safety (well, sort of ;))
Denis Vlasenko
2007-03-15 00:57:01 +00:00