7b881c7168
- fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..
Bernhard Reutner-Fischer
2007-03-30 18:26:46 +00:00
cc890264d9
- debloat test. untested. text data bss dec hex filename 3154 0 172 3326 cfe test.o.oorig 2683 0 172 2855 b27 test.o
Bernhard Reutner-Fischer
2007-03-30 18:23:36 +00:00
eceecea568
- fix bug where we did not reject invalid classes like '[[:alpha' - debloat while at it: text data bss dec hex filename 1554 0 19 1573 625 tr.o.oorig 1357 0 16 1373 55d tr.o
Bernhard Reutner-Fischer
2007-03-30 14:43:27 +00:00
52a9db6bb8
introduce the concept of LDLIBS for additional libraries so that when we do the final link, the objects/libraries are in the correct order
Mike Frysinger
2007-03-30 05:44:15 +00:00
2e723237c9
traceroute: move data off bss. small code optimizations.
Denis Vlasenko
2007-03-29 21:55:22 +00:00
53f83d68fb
dpkg: run_package_script() returns 0 if all ok and non-zero if failure. The result code was checked incorrectly in two places. (from "Kim B. Heino" <Kim.Heino@bluegiga.com>)
Denis Vlasenko
2007-03-29 19:42:19 +00:00
a87ed2c716
- use index_in_str_array also for find_main text data bss dec hex filename 2605 1 12 2618 a3a find.o.r18274 2602 1 12 2615 a37 find.o.r18275
Bernhard Reutner-Fischer
2007-03-29 13:56:49 +00:00
307d27df4f
- remove bloated switch statement. text data bss dec hex filename 2706 1 12 2719 a9f find.o.r18273 2605 1 12 2618 a3a find.o.r18274
Bernhard Reutner-Fischer
2007-03-29 13:56:02 +00:00
557b458767
- implement a TODO: Use index_in_str_array in parse_params text data bss dec hex filename 2771 1 12 2784 ae0 find.o.r18272 2749 1 12 2762 aca find.o.-try-switch 2706 1 12 2719 a9f find.o.r18273
Bernhard Reutner-Fischer
2007-03-29 13:55:17 +00:00
32773aca55
- Purely cosmetic type fiddling
Bernhard Reutner-Fischer
2007-03-29 13:54:17 +00:00
3e816c1252
- fold recurse, depthFirst and dereference params into one param flags. Minor size improvement (-16b for size, -24b according to bloat-o-meter).
Bernhard Reutner-Fischer
2007-03-29 10:30:50 +00:00
3d43edb28c
- update defconfig
Bernhard Reutner-Fischer
2007-03-28 22:19:46 +00:00
c7d4b98cbd
run_parts: I was wrong, NULL termination is already done because G is pre-initialized to 0.
Denis Vlasenko
2007-03-28 22:05:38 +00:00
45cd089df1
run_parts: NULL-terminate list of arguments; fix perror/error usage
Denis Vlasenko
2007-03-28 22:04:04 +00:00
450196c119
ps: work around libc bug: printf("%.*s\n", MAX_INT, buffer)
Denis Vlasenko
2007-03-28 21:57:12 +00:00
b7cffd4bed
- rewrite run-parts text data bss dec hex filename 1029 0 0 1029 405 debianutils/run_parts.o-old 478 0 0 478 1de debianutils/run_parts.o-new-bare 600 0 0 600 258 debianutils/run_parts.o-new-full
Bernhard Reutner-Fischer
2007-03-28 20:35:13 +00:00
0a537a0c57
- move additional fancy options not mandated by SUSv3 into a FANCY option
Bernhard Reutner-Fischer
2007-03-28 16:48:40 +00:00
0864f4d14f
- fix formatting of help text
Bernhard Reutner-Fischer
2007-03-28 16:46:03 +00:00
58a275b303
- reinstate dmalloc and efence support
Bernhard Reutner-Fischer
2007-03-28 15:00:27 +00:00
0eec4abb13
hdparm: flag variables can easily be smaller than long
Denis Vlasenko
2007-03-28 01:00:45 +00:00
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