oweals/busybox.git
17 years agofind: un-DESKTOPize (Kai Schwenzfeier <niteblade@gmx.net>)
Denis Vlasenko [Wed, 4 Apr 2007 23:41:35 +0000 (23:41 -0000)]
find: un-DESKTOPize (Kai Schwenzfeier <niteblade@gmx.net>)
find: -group, -depth (Natanael Copa <natanael.copa@gmail.com>)
find: make constant array static, declare PARM_xx constants with enum

17 years ago- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"
Bernhard Reutner-Fischer [Wed, 4 Apr 2007 20:52:03 +0000 (20:52 -0000)]
- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"

17 years ago- minor shrinkage
Bernhard Reutner-Fischer [Wed, 4 Apr 2007 20:29:15 +0000 (20:29 -0000)]
- minor shrinkage
   text    data     bss     dec     hex filename
   1431       0       4    1435     59b tail.o.orig
   1396       0       0    1396     574 tail.o

17 years ago- remove debugging output. sorry..
Bernhard Reutner-Fischer [Wed, 4 Apr 2007 17:58:39 +0000 (17:58 -0000)]
- remove debugging output. sorry..

17 years ago- note cosmetic glitch in tail
Bernhard Reutner-Fischer [Wed, 4 Apr 2007 17:57:55 +0000 (17:57 -0000)]
- note cosmetic glitch in tail

17 years agoreword comment
Denis Vlasenko [Wed, 4 Apr 2007 17:49:47 +0000 (17:49 -0000)]
reword comment

17 years ago- remove bss users. Shrinkage while at it. See XXX for further, pre-existing bugs
Bernhard Reutner-Fischer [Wed, 4 Apr 2007 14:01:23 +0000 (14:01 -0000)]
- remove bss users. Shrinkage while at it. See XXX for further, pre-existing bugs
   text    data     bss     dec     hex filename
   1969       0      32    2001     7d1 dd.o.oorig
   1941       0       0    1941     795 dd.o

17 years ago- remove some bss users.
Bernhard Reutner-Fischer [Wed, 4 Apr 2007 13:59:49 +0000 (13:59 -0000)]
- remove some bss users.
   text    data     bss     dec     hex filename
   6220       8      14    6242    1862 stty.o.oorig
   6219       8       0    6227    1853 stty.o

17 years ago- remove superfluous bss user (flags) and manually unswitch some areas:
Bernhard Reutner-Fischer [Wed, 4 Apr 2007 13:58:33 +0000 (13:58 -0000)]
- remove superfluous bss user (flags) and manually unswitch some areas:
   text    data     bss     dec     hex filename
   4517       0      34    4551    11c7 stat.o.oorig
   4300       0      30    4330    10ea stat.o

17 years agoAdd/improve comment, shorten some usage texts. No code changes.
Denis Vlasenko [Wed, 4 Apr 2007 11:02:55 +0000 (11:02 -0000)]
Add/improve comment, shorten some usage texts. No code changes.

17 years agoipsvd: use IP:PORT syntax for environment vars. Pros:
Denis Vlasenko [Wed, 4 Apr 2007 10:16:15 +0000 (10:16 -0000)]
ipsvd: use IP:PORT syntax for environment vars. Pros:
1. it's saner (matches internal libc sockaddr abstraction).
2. it's smaller.
Cons: not compatible with smarden's ipsvd.
Fix IPv6 define typos.
Stop interpreting options in prog's args.
Code size -162 bytes.

17 years agoipsvd: make udpsvd work similar to tcpsvd (multiple parallel
Denis Vlasenko [Tue, 3 Apr 2007 23:23:10 +0000 (23:23 -0000)]
ipsvd: make udpsvd work similar to tcpsvd (multiple parallel
children for several streams of udp packets tested to work)
code size: -509 bytes

17 years agoipsvd: fixes and improvements after testing
Denis Vlasenko [Tue, 3 Apr 2007 12:09:46 +0000 (12:09 -0000)]
ipsvd: fixes and improvements after testing

17 years agoudpsvd: more work on it. works in limited testing.
Denis Vlasenko [Tue, 3 Apr 2007 01:13:04 +0000 (01:13 -0000)]
udpsvd: more work on it. works in limited testing.

17 years ago- use bb_error_msg
Bernhard Reutner-Fischer [Mon, 2 Apr 2007 17:01:22 +0000 (17:01 -0000)]
- use bb_error_msg

17 years ago- use xregcomp. Untested. vda, isn't there a regfree missing here?
Bernhard Reutner-Fischer [Mon, 2 Apr 2007 16:54:41 +0000 (16:54 -0000)]
- use xregcomp. Untested. vda, isn't there a regfree missing here?
   text    data     bss     dec     hex filename
   2522       0       0    2522     9da expr.o.r18305
   2478       0       0    2478     9ae expr.o

17 years ago- remove some unneeded forward declarations. No obj-code changes.
Bernhard Reutner-Fischer [Mon, 2 Apr 2007 16:41:24 +0000 (16:41 -0000)]
- remove some unneeded forward declarations. No obj-code changes.

17 years ago- remove args from bss, minor misc shrinkage while at it.
Bernhard Reutner-Fischer [Mon, 2 Apr 2007 16:38:13 +0000 (16:38 -0000)]
- remove args from bss, minor misc shrinkage while at it.
   text    data     bss     dec     hex filename
   2577       0       4    2581     a15 expr.o
   2522       0       0    2522     9da expr.o

17 years agotest: comment out unused code
Denis Vlasenko [Mon, 2 Apr 2007 12:37:28 +0000 (12:37 -0000)]
test: comment out unused code
udpsvd: fake it compile
tcpsvd: more optimal memorizing of IP's for -C

17 years agoudpsvd: forgotten 'svn add'
Denis Vlasenko [Mon, 2 Apr 2007 06:17:45 +0000 (06:17 -0000)]
udpsvd: forgotten 'svn add'

17 years agoudpsvd: next part of ipsvd applets (not working yet)
Denis Vlasenko [Sun, 1 Apr 2007 19:10:36 +0000 (19:10 -0000)]
udpsvd: next part of ipsvd applets (not working yet)

17 years agotcpsvd: fix line buffering, add firewall query code
Denis Vlasenko [Sun, 1 Apr 2007 10:59:33 +0000 (10:59 -0000)]
tcpsvd: fix line buffering, add firewall query code

17 years agoCopyright, help text, whitespace cleanups
Denis Vlasenko [Sun, 1 Apr 2007 09:39:03 +0000 (09:39 -0000)]
Copyright, help text, whitespace cleanups

17 years agotcpsvd: new applet
Denis Vlasenko [Sun, 1 Apr 2007 01:18:20 +0000 (01:18 -0000)]
tcpsvd: new applet
It's a GPL-ed 'clone' of Dan Bernstein's tcpserver.
Author: Gerrit Pape <pape@smarden.org>
http://smarden.sunsite.dk/ipsvd/
size tcpsvd.o
   text    data     bss     dec     hex filename
   2571       4      16    2591     a1f tcpsvd.o

17 years agolash: make -c work; crush buffer overrun and free of non-malloced ptr
Denis Vlasenko [Sat, 31 Mar 2007 11:08:50 +0000 (11:08 -0000)]
lash: make -c work; crush buffer overrun and free of non-malloced ptr
(from Mats Erik Andersson <mats.andersson64@comhem.se>)

17 years agolash: style cleanup
Denis Vlasenko [Sat, 31 Mar 2007 11:07:30 +0000 (11:07 -0000)]
lash: style cleanup

17 years agowebsite: link to post-1.5.0 fixes, fix dangling link
Denis Vlasenko [Sat, 31 Mar 2007 10:32:27 +0000 (10:32 -0000)]
website: link to post-1.5.0 fixes, fix dangling link

17 years agohdparm: fix multisector mode setting
Denis Vlasenko [Sat, 31 Mar 2007 10:30:02 +0000 (10:30 -0000)]
hdparm: fix multisector mode setting
(from Toni Mirabete <amirabete@catix.cat>)

17 years agouniq: getopt32-ization. -38 bytes.
Denis Vlasenko [Sat, 31 Mar 2007 10:19:11 +0000 (10:19 -0000)]
uniq: getopt32-ization. -38 bytes.

17 years agounzip: fix xstrndup bug (xstrndup(s,n) can allocate less than n bytes!)
Denis Vlasenko [Sat, 31 Mar 2007 10:17:24 +0000 (10:17 -0000)]
unzip: fix xstrndup bug (xstrndup(s,n) can allocate less than n bytes!)

17 years ago- fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..
Bernhard Reutner-Fischer [Fri, 30 Mar 2007 18:26:46 +0000 (18:26 -0000)]
- fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..

17 years ago- debloat test. untested.
Bernhard Reutner-Fischer [Fri, 30 Mar 2007 18:23:36 +0000 (18:23 -0000)]
- debloat test. untested.
   text    data     bss     dec     hex filename
   3154       0     172    3326     cfe test.o.oorig
   2683       0     172    2855     b27 test.o

This applet should be rewritten not to use such odd lexer semantics.
It duplicates code from all over the place (see XXX).
brrr

17 years ago- fix bug where we did not reject invalid classes like '[[:alpha'
Bernhard Reutner-Fischer [Fri, 30 Mar 2007 14:43:27 +0000 (14:43 -0000)]
- 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

17 years agointroduce the concept of LDLIBS for additional libraries so that when we do the final...
Mike Frysinger [Fri, 30 Mar 2007 05:44:15 +0000 (05:44 -0000)]
introduce the concept of LDLIBS for additional libraries so that when we do the final link, the objects/libraries are in the correct order

17 years agotraceroute: move data off bss. small code optimizations.
Denis Vlasenko [Thu, 29 Mar 2007 21:55:22 +0000 (21:55 -0000)]
traceroute: move data off bss. small code optimizations.

function                                             old     new   delta
traceroute_main                                     4358    4397     +39
verbose                                               13       9      -4
useicmp                                                4       -      -4
nflag                                                  4       -      -4
split_suffices                                        40      24     -16
route                                                 16       -     -16
dumpleases_main                                      392     357     -35
gwlist                                                36       -     -36
whereto                                              128       -    -128
wherefrom                                            128       -    -128
packet                                               512       -    -512
------------------------------------------------------------------------------
(add/remove: 0/7 grow/shrink: 1/3 up/down: 39/-883)          Total: -844 bytes

17 years agodpkg: run_package_script() returns 0 if all ok and non-zero if failure.
Denis Vlasenko [Thu, 29 Mar 2007 19:42:19 +0000 (19:42 -0000)]
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>)

17 years agodumpleases: getopt32()-ization
Denis Vlasenko [Thu, 29 Mar 2007 19:29:32 +0000 (19:29 -0000)]
dumpleases: getopt32()-ization
(from Mats Erik Andersson <mats.andersson64@comhem.se>)

17 years ago- use index_in_str_array also for find_main
Bernhard Reutner-Fischer [Thu, 29 Mar 2007 13:56:49 +0000 (13:56 -0000)]
- 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

17 years ago- remove bloated switch statement.
Bernhard Reutner-Fischer [Thu, 29 Mar 2007 13:56:02 +0000 (13:56 -0000)]
- 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

17 years ago- implement a TODO: Use index_in_str_array in parse_params
Bernhard Reutner-Fischer [Thu, 29 Mar 2007 13:55:17 +0000 (13:55 -0000)]
- 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

17 years ago- Purely cosmetic type fiddling
Bernhard Reutner-Fischer [Thu, 29 Mar 2007 13:54:17 +0000 (13:54 -0000)]
- Purely cosmetic type fiddling

17 years ago- fold recurse, depthFirst and dereference params into one param flags.
Bernhard Reutner-Fischer [Thu, 29 Mar 2007 10:30:50 +0000 (10:30 -0000)]
- fold recurse, depthFirst and dereference params into one param flags.
  Minor size improvement (-16b for size, -24b according to bloat-o-meter).

17 years ago- update defconfig
Bernhard Reutner-Fischer [Wed, 28 Mar 2007 22:19:46 +0000 (22:19 -0000)]
- update defconfig

17 years agorun_parts: I was wrong, NULL termination is already done because
Denis Vlasenko [Wed, 28 Mar 2007 22:05:38 +0000 (22:05 -0000)]
run_parts: I was wrong, NULL termination is already done because
G is pre-initialized to 0.

17 years agorun_parts: NULL-terminate list of arguments; fix perror/error usage
Denis Vlasenko [Wed, 28 Mar 2007 22:04:04 +0000 (22:04 -0000)]
run_parts: NULL-terminate list of arguments; fix perror/error usage

17 years agops: work around libc bug: printf("%.*s\n", MAX_INT, buffer)
Denis Vlasenko [Wed, 28 Mar 2007 21:57:12 +0000 (21:57 -0000)]
ps: work around libc bug: printf("%.*s\n", MAX_INT, buffer)

17 years ago- rewrite run-parts
Bernhard Reutner-Fischer [Wed, 28 Mar 2007 20:35:13 +0000 (20:35 -0000)]
- 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

bare, i.e. without long opts and fancy stuff
./scripts/bloat-o-meter bb_old busybox_unstripped   function                                             old     new   delta
act                                                    -     215    +215
run_parts_main                                       216     201     -15
valid_name                                            50       -     -50
runparts_long_options                                 64       -     -64
.rodata                                           124323  124163    -160
run_parts                                            513       -    -513
------------------------------------------------------------------------------
(add/remove: 1/3 grow/shrink: 0/2 up/down: 215/-802)         Total: -587 bytes

17 years ago- move additional fancy options not mandated by SUSv3 into a FANCY option
Bernhard Reutner-Fischer [Wed, 28 Mar 2007 16:48:40 +0000 (16:48 -0000)]
- move additional fancy options not mandated by SUSv3 into a FANCY option

17 years ago- fix formatting of help text
Bernhard Reutner-Fischer [Wed, 28 Mar 2007 16:46:03 +0000 (16:46 -0000)]
- fix formatting of help text

17 years ago- reinstate dmalloc and efence support
Bernhard Reutner-Fischer [Wed, 28 Mar 2007 15:00:27 +0000 (15:00 -0000)]
- reinstate dmalloc and efence support

17 years agohdparm: flag variables can easily be smaller than long
Denis Vlasenko [Wed, 28 Mar 2007 01:00:45 +0000 (01:00 -0000)]
hdparm: flag variables can easily be smaller than long

function                                             old     new   delta
process_dev                                         5247    5325     +78
bb_ioctl_on_off                                       72      78      +6
unregister_hwif                                        4       1      -3
...
perform_reset                                          4       1      -3
parse_xfermode                                       111     108      -3
noisy_piomode                                          4       1      -3
...
do_flush                                               4       1      -3
do_ctimings                                            4       1      -3
static.parm                                            4       -      -4
static.multcount                                       4       -      -4
parse_opts                                            54      48      -6
hdparm_main                                         1435    1383     -52
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 2/61 up/down: 84/-243)         Total: -159 bytes

17 years agohdparm: remove stray static (-200 bytes bss)
Denis Vlasenko [Wed, 28 Mar 2007 00:14:54 +0000 (00:14 -0000)]
hdparm: remove stray static (-200 bytes bss)

17 years agohdparm: whitespace style fixes
Denis Vlasenko [Wed, 28 Mar 2007 00:14:01 +0000 (00:14 -0000)]
hdparm: whitespace style fixes

17 years agopidfile creation mode set to 0666 (umask affects it as usual)
Denis Vlasenko [Tue, 27 Mar 2007 22:05:34 +0000 (22:05 -0000)]
pidfile creation mode set to 0666 (umask affects it as usual)

17 years agoforgotten svn add...
Denis Vlasenko [Tue, 27 Mar 2007 22:02:06 +0000 (22:02 -0000)]
forgotten svn add...

17 years agomake pidfile writing configurable.
Denis Vlasenko [Tue, 27 Mar 2007 22:01:31 +0000 (22:01 -0000)]
make pidfile writing configurable.
[ui]toa_to_buf: change API. No users yet.

17 years agoremove_file: cosmetic code improvement, a few bytes saved
Denis Vlasenko [Mon, 26 Mar 2007 23:14:38 +0000 (23:14 -0000)]
remove_file: cosmetic code improvement, a few bytes saved

17 years agodiff: fix SEGV (NULL deref) in diff -N
Denis Vlasenko [Mon, 26 Mar 2007 22:58:21 +0000 (22:58 -0000)]
diff: fix SEGV (NULL deref) in diff -N

17 years agosed: a communal variable managed to slip past 'size'
Denis Vlasenko [Mon, 26 Mar 2007 20:48:46 +0000 (20:48 -0000)]
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

sed: also make sed -i failure message less cryptic

17 years agosplit: let me join bikeshed painting frenzy :)
Denis Vlasenko [Mon, 26 Mar 2007 20:15:40 +0000 (20:15 -0000)]
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

17 years ago- check the suffix proper plus misc touch up
Bernhard Reutner-Fischer [Mon, 26 Mar 2007 18:19:29 +0000 (18:19 -0000)]
- check the suffix proper plus misc touch up

17 years agozcip: make it work on NOMMU (+ improve NOMMU support machinery)
Denis Vlasenko [Mon, 26 Mar 2007 17:25:33 +0000 (17:25 -0000)]
zcip: make it work on NOMMU (+ improve NOMMU support machinery)
fsck: fix bad English in a comment

17 years ago- add usage for split
Bernhard Reutner-Fischer [Mon, 26 Mar 2007 14:38:03 +0000 (14:38 -0000)]
- add usage for split

17 years ago- implement suffices as required by SUSv3
Bernhard Reutner-Fischer [Mon, 26 Mar 2007 14:28:12 +0000 (14:28 -0000)]
- implement suffices as required by SUSv3
- fix glitch in next_file (suffices were exhaused too early).

17 years agoAttempt to get more applets compile for NOMMU.
Denis Vlasenko [Mon, 26 Mar 2007 13:35:09 +0000 (13:35 -0000)]
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).

17 years agopidfile.c: not used anymore
Denis Vlasenko [Mon, 26 Mar 2007 13:24:24 +0000 (13:24 -0000)]
pidfile.c: not used anymore
BTW, previous change removed pidfile locking, -700 code (static compile)

17 years agoMove udhcp to new NOMMU helpers.
Denis Vlasenko [Mon, 26 Mar 2007 13:22:35 +0000 (13:22 -0000)]
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 :)

17 years agomove everything to new NOMMU helpers, except udhcp
Denis Vlasenko [Mon, 26 Mar 2007 13:20:54 +0000 (13:20 -0000)]
move everything to new NOMMU helpers, except udhcp

17 years agolibbb: rework NOMMU helper API so that it makes more sense
Denis Vlasenko [Mon, 26 Mar 2007 13:20:04 +0000 (13:20 -0000)]
libbb: rework NOMMU helper API so that it makes more sense
and easier to use. Doesn't compile - need two more commits.

17 years agonmeter: should die if stdout doesn't like him anymore
Denis Vlasenko [Mon, 26 Mar 2007 13:16:22 +0000 (13:16 -0000)]
nmeter: should die if stdout doesn't like him anymore

17 years ago- shrink a tiny bit (-8b)
Bernhard Reutner-Fischer [Mon, 26 Mar 2007 10:46:31 +0000 (10:46 -0000)]
- shrink a tiny bit (-8b)

17 years agoadd NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy
Denis Vlasenko [Sun, 25 Mar 2007 23:21:05 +0000 (23:21 -0000)]
add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy

17 years ago- rough prototype for split(1). TODO: Still needs some love since it's way too big..
Bernhard Reutner-Fischer [Sun, 25 Mar 2007 21:50:18 +0000 (21:50 -0000)]
- 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

17 years agoinetd,ed,msh: data/bss reduction (in mss, more than 9k of it)
Denis Vlasenko [Sat, 24 Mar 2007 22:42:29 +0000 (22:42 -0000)]
inetd,ed,msh: data/bss reduction (in mss, more than 9k of it)

17 years agologin: nuke nonblock() - we have it in libbb; -400 bytes bss.
Denis Vlasenko [Sat, 24 Mar 2007 17:04:07 +0000 (17:04 -0000)]
login: nuke nonblock() - we have it in libbb; -400 bytes bss.

17 years ago#ifdef out re_execed on MMU machines
Denis Vlasenko [Sat, 24 Mar 2007 16:13:33 +0000 (16:13 -0000)]
#ifdef out re_execed on MMU machines

17 years agoadduser: don't bomb out if shadow password file doesn't exist
Denis Vlasenko [Sat, 24 Mar 2007 16:06:46 +0000 (16:06 -0000)]
adduser: don't bomb out if shadow password file doesn't exist
(from Tito <farmatito@tiscali.it>)

17 years agorandom style fixes (extra spaces deleted)
Denis Vlasenko [Sat, 24 Mar 2007 15:40:16 +0000 (15:40 -0000)]
random style fixes (extra spaces deleted)

17 years agoSELinux: load_policy applet - this time with svn add
Denis Vlasenko [Sat, 24 Mar 2007 15:38:49 +0000 (15:38 -0000)]
SELinux: load_policy applet - this time with svn add

17 years agoSELinux: load_policy applet
Denis Vlasenko [Sat, 24 Mar 2007 15:37:57 +0000 (15:37 -0000)]
SELinux: load_policy applet

17 years agodc: use common_bufsiz1 for evaluation stack
Denis Vlasenko [Sat, 24 Mar 2007 14:06:51 +0000 (14:06 -0000)]
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

17 years agodnsd: last commit had a typo :(
Denis Vlasenko [Sat, 24 Mar 2007 13:09:07 +0000 (13:09 -0000)]
dnsd: last commit had a typo :(

17 years agodnsd: fix several buglets, make smaller
Denis Vlasenko [Sat, 24 Mar 2007 12:13:04 +0000 (12:13 -0000)]
dnsd: fix several buglets, make smaller

17 years agoNOMMU re-exec trick shuld not depend on existence of "don't daemonize"
Denis Vlasenko [Sat, 24 Mar 2007 12:11:17 +0000 (12:11 -0000)]
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.

17 years agoapplets.c, xfunc.c: style cleanup
Denis Vlasenko [Sat, 24 Mar 2007 12:08:36 +0000 (12:08 -0000)]
applets.c, xfunc.c: style cleanup

17 years agoinetd: indent labels uniformly
Denis Vlasenko [Sat, 24 Mar 2007 12:07:31 +0000 (12:07 -0000)]
inetd: indent labels uniformly

17 years agoAnnounce 1.5.0 and move svn to 1.6.0.svn
Denis Vlasenko [Thu, 22 Mar 2007 23:31:29 +0000 (23:31 -0000)]
Announce 1.5.0 and move svn to 1.6.0.svn

17 years agoThis revision is busybox 1.5.0
Denis Vlasenko [Thu, 22 Mar 2007 22:27:40 +0000 (22:27 -0000)]
This revision is busybox 1.5.0

17 years agoassorted fixes uncovered by randomconfig runs
Denis Vlasenko [Thu, 22 Mar 2007 22:22:10 +0000 (22:22 -0000)]
assorted fixes uncovered by randomconfig runs

17 years agointerface: revert part of commit 18120 (eth aliases work again)
Denis Vlasenko [Thu, 22 Mar 2007 19:35:51 +0000 (19:35 -0000)]
interface: revert part of commit 18120 (eth aliases work again)

17 years agogzip: fix -d option handling
Denis Vlasenko [Thu, 22 Mar 2007 18:56:23 +0000 (18:56 -0000)]
gzip: fix -d option handling

17 years agoifconfig: support (by ignoring it) "inet" before IP address or hostname
Denis Vlasenko [Thu, 22 Mar 2007 18:56:00 +0000 (18:56 -0000)]
ifconfig: support (by ignoring it) "inet" before IP address or hostname

17 years agovi: fix signed char-induced potential bugs
Denis Vlasenko [Wed, 21 Mar 2007 22:31:24 +0000 (22:31 -0000)]
vi: fix signed char-induced potential bugs

17 years agocmp: support 3rd and 4th arguments if DESKTOP=y (needed for gcc build)
Denis Vlasenko [Wed, 21 Mar 2007 22:30:14 +0000 (22:30 -0000)]
cmp: support 3rd and 4th arguments if DESKTOP=y (needed for gcc build)

17 years agoash: fix signal handling
Denis Vlasenko [Wed, 21 Mar 2007 20:17:27 +0000 (20:17 -0000)]
ash: fix signal handling

17 years agoadd info about gcc's sadistic alignment - and how to disable it
Denis Vlasenko [Wed, 21 Mar 2007 10:07:01 +0000 (10:07 -0000)]
add info about gcc's sadistic alignment - and how to disable it

17 years agovi: remove Byte typedef and massive amount of casts.
Denis Vlasenko [Wed, 21 Mar 2007 00:05:35 +0000 (00:05 -0000)]
vi: remove Byte typedef and massive amount of casts.
also optimize many strlen() calls.
if (strlen(buf) <= 0) goto vc1 - ??!!

17 years agovi: support $EXINIT and -c
Denis Vlasenko [Wed, 21 Mar 2007 00:03:42 +0000 (00:03 -0000)]
vi: support $EXINIT and -c

17 years agosyslogd: fix it for small BUFSIZ case
Denis Vlasenko [Tue, 20 Mar 2007 20:03:03 +0000 (20:03 -0000)]
syslogd: fix it for small BUFSIZ case

17 years agosmall doc update
Denis Vlasenko [Tue, 20 Mar 2007 15:53:11 +0000 (15:53 -0000)]
small doc update