oweals/busybox.git
17 years agoash: move ash_main() and helpers to end of ash.c, more fuctions renamed,
Denis Vlasenko [Mon, 19 Feb 2007 22:45:43 +0000 (22:45 -0000)]
ash: move ash_main() and helpers to end of ash.c, more fuctions renamed,
superfluous casts from memory allocators removed

17 years agoash: more renaming and style fixes
Denis Vlasenko [Mon, 19 Feb 2007 22:44:05 +0000 (22:44 -0000)]
ash: more renaming and style fixes

17 years agoash: rearrange code to reduce forward references, rename some functions
Denis Vlasenko [Mon, 19 Feb 2007 22:43:01 +0000 (22:43 -0000)]
ash: rearrange code to reduce forward references, rename some functions

17 years agoash: tiny style fixes
Denis Vlasenko [Mon, 19 Feb 2007 22:41:55 +0000 (22:41 -0000)]
ash: tiny style fixes

17 years agoash: de-obfuscate code, add 'static' keyword, etc.
Denis Vlasenko [Sun, 18 Feb 2007 19:56:41 +0000 (19:56 -0000)]
ash: de-obfuscate code, add 'static' keyword, etc.

17 years agohdparm: style fixes, no code changes
Denis Vlasenko [Sun, 18 Feb 2007 13:36:04 +0000 (13:36 -0000)]
hdparm: style fixes, no code changes

17 years agoash: convert #ifdef CONFIG_ to #if ENABLE_
Denis Vlasenko [Sun, 18 Feb 2007 13:00:19 +0000 (13:00 -0000)]
ash: convert #ifdef CONFIG_ to #if ENABLE_

17 years agoash: fix indentation and style. no code changes
Denis Vlasenko [Sun, 18 Feb 2007 12:35:30 +0000 (12:35 -0000)]
ash: fix indentation and style. no code changes

17 years agorunsv: add missing {}
Denis Vlasenko [Sun, 18 Feb 2007 11:07:43 +0000 (11:07 -0000)]
runsv: add missing {}

17 years agosort: fix multiple -k (was ignoring all except last)
Denis Vlasenko [Sat, 17 Feb 2007 18:11:45 +0000 (18:11 -0000)]
sort: fix multiple -k (was ignoring all except last)

17 years agoinit: code readability enhancements; very small code changes
Denis Vlasenko [Sat, 17 Feb 2007 15:52:02 +0000 (15:52 -0000)]
init: code readability enhancements; very small code changes

17 years agoklogd: code de-obfuscation with small code size reduction
Denis Vlasenko [Sat, 17 Feb 2007 14:12:10 +0000 (14:12 -0000)]
klogd: code de-obfuscation with small code size reduction

17 years ago- whitespace cleanup and add a possible shrinkage suggestion
Bernhard Reutner-Fischer [Fri, 16 Feb 2007 17:17:07 +0000 (17:17 -0000)]
- whitespace cleanup and add a possible shrinkage suggestion

17 years agodpkg: fix segfault on "dpkg -i"
Denis Vlasenko [Thu, 15 Feb 2007 21:19:50 +0000 (21:19 -0000)]
dpkg: fix segfault on "dpkg -i"

17 years agosyslogd: MARK code is buggy. Disabling it altogether on anti-bloat grounds
Denis Vlasenko [Wed, 14 Feb 2007 20:51:46 +0000 (20:51 -0000)]
syslogd: MARK code is buggy. Disabling it altogether on anti-bloat grounds

17 years agozcip: revert my bogus change
Denis Vlasenko [Wed, 14 Feb 2007 20:50:22 +0000 (20:50 -0000)]
zcip: revert my bogus change

17 years agoless: support xterm's home/end; improve forward search
Denis Vlasenko [Wed, 14 Feb 2007 20:49:14 +0000 (20:49 -0000)]
less: support xterm's home/end; improve forward search

17 years agocreate a document for mdev so people dont have to rtfs
Mike Frysinger [Wed, 14 Feb 2007 13:20:29 +0000 (13:20 -0000)]
create a document for mdev so people dont have to rtfs

17 years agohttpd: a little bit more correct handling of CGI "HTTP/xxx" output
Denis Vlasenko [Tue, 13 Feb 2007 23:42:54 +0000 (23:42 -0000)]
httpd: a little bit more correct handling of CGI "HTTP/xxx" output

17 years agomake tar restore mode again
Denis Vlasenko [Mon, 12 Feb 2007 22:06:56 +0000 (22:06 -0000)]
make tar restore mode again

17 years ago- check if the compiler supports -fwhole-program -- 4.0 does not
Bernhard Reutner-Fischer [Mon, 12 Feb 2007 12:57:38 +0000 (12:57 -0000)]
- check if the compiler supports -fwhole-program -- 4.0 does not

17 years agohttpd: fix for POSTDATA handling bugs:
Denis Vlasenko [Sun, 11 Feb 2007 19:51:06 +0000 (19:51 -0000)]
httpd: fix for POSTDATA handling bugs:
erroneous close(0)
full_read -> safe_read (with explanation)

17 years agodiff: fix access past end of array
Denis Vlasenko [Sun, 11 Feb 2007 19:07:03 +0000 (19:07 -0000)]
diff: fix access past end of array

17 years agosyslogd: fix "readpath bug" by using readlink instead
Denis Vlasenko [Sun, 11 Feb 2007 16:19:28 +0000 (16:19 -0000)]
syslogd: fix "readpath bug" by using readlink instead
libbb: rename xgetcwd and xreadlink

17 years agoAdd CGI docs
Denis Vlasenko [Sun, 11 Feb 2007 14:52:07 +0000 (14:52 -0000)]
Add CGI docs

17 years agoremove unused #include,, improve code readability
Denis Vlasenko [Fri, 9 Feb 2007 18:26:52 +0000 (18:26 -0000)]
remove unused #include,, improve code readability

17 years agoping: reuse another bit of common code. -60 bytes
Denis Vlasenko [Fri, 9 Feb 2007 18:14:42 +0000 (18:14 -0000)]
ping: reuse another bit of common code. -60 bytes

17 years agoping: support -I addr in family neutral manner; reuse a bit of common code
Denis Vlasenko [Fri, 9 Feb 2007 17:32:16 +0000 (17:32 -0000)]
ping: support -I addr in family neutral manner; reuse a bit of common code

17 years agomsh: fix my buglet
Denis Vlasenko [Fri, 9 Feb 2007 17:30:14 +0000 (17:30 -0000)]
msh: fix my buglet

17 years agotftp: fix my bug
Denis Vlasenko [Thu, 8 Feb 2007 20:41:41 +0000 (20:41 -0000)]
tftp: fix my bug

17 years agomake sure ps/top output what they claim: vsz, not rss ... down the line we should...
Mike Frysinger [Thu, 8 Feb 2007 08:21:58 +0000 (08:21 -0000)]
make sure ps/top output what they claim: vsz, not rss ... down the line we should make the output controllable either at runtime or buildtime as both statistics are quite useful

17 years ago/etc/modules.conf is a 2.6.x file while /etc/modules.conf and /etc/conf.modules are...
Mike Frysinger [Thu, 8 Feb 2007 07:03:44 +0000 (07:03 -0000)]
/etc/modules.conf is a 2.6.x file while /etc/modules.conf and /etc/conf.modules are 2.4.x and older files

17 years agotouchup style; no functional changes
Mike Frysinger [Thu, 8 Feb 2007 06:30:58 +0000 (06:30 -0000)]
touchup style; no functional changes

17 years agotftp: fix IPv6 fallout
Denis Vlasenko [Wed, 7 Feb 2007 23:20:32 +0000 (23:20 -0000)]
tftp: fix IPv6 fallout

17 years agoselinux fixes by KaiGai Kohei <kaigai@kaigai.gr.jp>
Denis Vlasenko [Wed, 7 Feb 2007 22:08:42 +0000 (22:08 -0000)]
selinux fixes by KaiGai Kohei <kaigai@kaigai.gr.jp>

17 years agofix #ifdef ENABLE_xxx -> #if
Denis Vlasenko [Wed, 7 Feb 2007 20:27:03 +0000 (20:27 -0000)]
fix #ifdef ENABLE_xxx -> #if

17 years agofix warning coming from printing size_t with %u
Denis Vlasenko [Tue, 6 Feb 2007 21:52:05 +0000 (21:52 -0000)]
fix warning coming from printing size_t with %u

17 years agonew applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>
Denis Vlasenko [Tue, 6 Feb 2007 19:28:50 +0000 (19:28 -0000)]
new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>

17 years agofind: fix -not support
Denis Vlasenko [Tue, 6 Feb 2007 17:38:29 +0000 (17:38 -0000)]
find: fix -not support

17 years agoEXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>
Denis Vlasenko [Tue, 6 Feb 2007 01:20:12 +0000 (01:20 -0000)]
EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>

17 years agominix utils: de-inline bit ops (saves ~130 bytes)
Denis Vlasenko [Tue, 6 Feb 2007 00:37:40 +0000 (00:37 -0000)]
minix utils: de-inline bit ops (saves ~130 bytes)

17 years agominix utils: make a message easier to understand; small tweaks
Denis Vlasenko [Tue, 6 Feb 2007 00:36:53 +0000 (00:36 -0000)]
minix utils: make a message easier to understand; small tweaks

17 years agocorrect "pivot_root: pivot_root: <msg>"
Denis Vlasenko [Tue, 6 Feb 2007 00:35:36 +0000 (00:35 -0000)]
correct "pivot_root: pivot_root: <msg>"

17 years agofix tar t segfault (closes 1183)
Denis Vlasenko [Sun, 4 Feb 2007 21:30:35 +0000 (21:30 -0000)]
fix tar t segfault (closes 1183)

17 years ago- indent
Bernhard Reutner-Fischer [Sun, 4 Feb 2007 20:32:38 +0000 (20:32 -0000)]
- indent

17 years ago- improve wording
Bernhard Reutner-Fischer [Sun, 4 Feb 2007 17:24:53 +0000 (17:24 -0000)]
- improve wording

17 years ago- remove duplicate menu entry
Bernhard Reutner-Fischer [Sun, 4 Feb 2007 17:21:55 +0000 (17:21 -0000)]
- remove duplicate menu entry

17 years agofind: support for !
Denis Vlasenko [Sun, 4 Feb 2007 17:11:25 +0000 (17:11 -0000)]
find: support for !

17 years ago- strip 12 bytes off by using a smaller type for need_print.
Bernhard Reutner-Fischer [Sun, 4 Feb 2007 16:09:04 +0000 (16:09 -0000)]
- strip 12 bytes off by using a smaller type for need_print.
- add TODO to switch this applet to index_in_str_array()

17 years ago- fix buglet introduced in r17351 in find_param(). Closes #1193
Bernhard Reutner-Fischer [Sun, 4 Feb 2007 11:13:57 +0000 (11:13 -0000)]
- fix buglet introduced in r17351 in find_param(). Closes #1193

17 years agoudhcp: use improved gethostbyname replacement from IPv6 code
Denis Vlasenko [Sun, 4 Feb 2007 02:41:57 +0000 (02:41 -0000)]
udhcp: use improved gethostbyname replacement from IPv6 code

17 years agoifconfig: use IPv6 infrastructure
Denis Vlasenko [Sun, 4 Feb 2007 02:40:27 +0000 (02:40 -0000)]
ifconfig: use IPv6 infrastructure

17 years agomount: (try to) support cifs with IPv6
Denis Vlasenko [Sun, 4 Feb 2007 02:39:55 +0000 (02:39 -0000)]
mount: (try to) support cifs with IPv6

17 years agoadd x to IPv6 functions which can die
Denis Vlasenko [Sun, 4 Feb 2007 02:39:08 +0000 (02:39 -0000)]
add x to IPv6 functions which can die

17 years agomkconfigs: remove echo "`...`" contortion
Denis Vlasenko [Sun, 4 Feb 2007 02:38:21 +0000 (02:38 -0000)]
mkconfigs: remove echo "`...`" contortion

17 years agoBB_EXECLP should call execlp, not execvp
Denis Vlasenko [Sun, 4 Feb 2007 00:09:18 +0000 (00:09 -0000)]
BB_EXECLP should call execlp, not execvp

17 years agos/PREFIX/CONFIG_PREFIX/
Denis Vlasenko [Sat, 3 Feb 2007 17:29:14 +0000 (17:29 -0000)]
s/PREFIX/CONFIG_PREFIX/

17 years agosuppress warnings about easch <applet>_main() having
Denis Vlasenko [Sat, 3 Feb 2007 17:28:39 +0000 (17:28 -0000)]
suppress warnings about easch <applet>_main() having
no preceding prototype

17 years agodo not put all <applet>_main() declarations
Denis Vlasenko [Sat, 3 Feb 2007 17:27:14 +0000 (17:27 -0000)]
do not put all <applet>_main() declarations
in busybox.h - this produces false dependencies

17 years ago- include busybox.h before looking at an eventual #if ENABLE_DESKTOP
Bernhard Reutner-Fischer [Sat, 3 Feb 2007 12:52:25 +0000 (12:52 -0000)]
- include busybox.h before looking at an eventual #if ENABLE_DESKTOP

17 years agoadd TODO
Denis Vlasenko [Sat, 3 Feb 2007 12:50:41 +0000 (12:50 -0000)]
add TODO

17 years agousage_compressed: be more permissive in which od flavors we support
Denis Vlasenko [Sat, 3 Feb 2007 12:45:43 +0000 (12:45 -0000)]
usage_compressed: be more permissive in which od flavors we support

17 years agoassorted fixes for bugs found with randomconfig
Denis Vlasenko [Sat, 3 Feb 2007 03:31:13 +0000 (03:31 -0000)]
assorted fixes for bugs found with randomconfig

17 years agolineedit: add missing #if/#endif
Denis Vlasenko [Sat, 3 Feb 2007 02:42:47 +0000 (02:42 -0000)]
lineedit: add missing #if/#endif
init: fix warnings

17 years agoAdd BB_EXEC[LV]P() which encapsulate FEATURE_EXEC_PREFER_APPLETS
Denis Vlasenko [Sat, 3 Feb 2007 02:17:41 +0000 (02:17 -0000)]
Add BB_EXEC[LV]P() which encapsulate FEATURE_EXEC_PREFER_APPLETS
(patch from Gabriel L. Somlo <somlo@cmu.edu>)

17 years agosigset_t blocked_sigset is too big for static (128 bytes)
Denis Vlasenko [Sat, 3 Feb 2007 01:47:56 +0000 (01:47 -0000)]
sigset_t blocked_sigset is too big for static (128 bytes)

17 years agosvlogd: fix performance problems: excessive write,
Denis Vlasenko [Sat, 3 Feb 2007 00:53:43 +0000 (00:53 -0000)]
svlogd: fix performance problems: excessive write,
gettimeofday calls. rt_sigprocmask were dealt with
in previous commit

17 years agosvlogd: do not set O_NONBLOCK on stdin permanently - that can
Denis Vlasenko [Sat, 3 Feb 2007 00:52:17 +0000 (00:52 -0000)]
svlogd: do not set O_NONBLOCK on stdin permanently - that can
affect other processes!

17 years ago- minor tweak
Bernhard Reutner-Fischer [Fri, 2 Feb 2007 16:11:24 +0000 (16:11 -0000)]
- minor tweak

17 years ago- update helptext
Bernhard Reutner-Fischer [Fri, 2 Feb 2007 16:06:02 +0000 (16:06 -0000)]
- update helptext

17 years agoadd a comment so that people won't get confused
Denis Vlasenko [Fri, 2 Feb 2007 01:57:24 +0000 (01:57 -0000)]
add a comment so that people won't get confused

17 years agosv: fix incorrect option parsing and reduce size
Denis Vlasenko [Fri, 2 Feb 2007 01:19:09 +0000 (01:19 -0000)]
sv: fix incorrect option parsing and reduce size

17 years agohttpd: directory indexer example doesn't need piping thru dd anymore
Denis Vlasenko [Fri, 2 Feb 2007 01:18:37 +0000 (01:18 -0000)]
httpd: directory indexer example doesn't need piping thru dd anymore

17 years agofind -user support by Natanael Copa <natanael.copa@gmail.com>
Denis Vlasenko [Fri, 2 Feb 2007 01:17:52 +0000 (01:17 -0000)]
find -user support by Natanael Copa <natanael.copa@gmail.com>

17 years agotrivial warning fix
Denis Vlasenko [Fri, 2 Feb 2007 01:16:33 +0000 (01:16 -0000)]
trivial warning fix

17 years agoudhcpd: allow "domain" to be a list of DNS servers, not just one
Denis Vlasenko [Fri, 2 Feb 2007 01:16:08 +0000 (01:16 -0000)]
udhcpd: allow "domain" to be a list of DNS servers, not just one

17 years agocorrect wget's comment
Denis Vlasenko [Thu, 1 Feb 2007 01:53:25 +0000 (01:53 -0000)]
correct wget's comment

17 years agoadd -Wwrite-strings to Makefile
Denis Vlasenko [Thu, 1 Feb 2007 01:51:36 +0000 (01:51 -0000)]
add -Wwrite-strings to Makefile

17 years agomsh: cleaning up for -Wwrite-strings part #4
Denis Vlasenko [Thu, 1 Feb 2007 01:43:54 +0000 (01:43 -0000)]
msh: cleaning up for -Wwrite-strings part #4

17 years agomsh: cleaning up for -Wwrite-strings part #3
Denis Vlasenko [Thu, 1 Feb 2007 01:43:39 +0000 (01:43 -0000)]
msh: cleaning up for -Wwrite-strings part #3

17 years agomsh: cleaning up for -Wwrite-strings part #2
Denis Vlasenko [Thu, 1 Feb 2007 01:43:16 +0000 (01:43 -0000)]
msh: cleaning up for -Wwrite-strings part #2

17 years agomsh: cleaning up for -Wwrite-strings
Denis Vlasenko [Thu, 1 Feb 2007 01:39:24 +0000 (01:39 -0000)]
msh: cleaning up for -Wwrite-strings

17 years agolash: -Wwrite-strings fixes
Denis Vlasenko [Tue, 30 Jan 2007 22:44:07 +0000 (22:44 -0000)]
lash: -Wwrite-strings fixes

17 years agohush: style fixes
Denis Vlasenko [Tue, 30 Jan 2007 22:32:09 +0000 (22:32 -0000)]
hush: style fixes

17 years agohush: now it's -Wwrite-strings clean
Denis Vlasenko [Tue, 30 Jan 2007 22:31:26 +0000 (22:31 -0000)]
hush: now it's -Wwrite-strings clean

17 years agohush: style fixes
Denis Vlasenko [Tue, 30 Jan 2007 22:30:09 +0000 (22:30 -0000)]
hush: style fixes

17 years agohust: -Wwrite-strings fixes
Denis Vlasenko [Tue, 30 Jan 2007 22:28:21 +0000 (22:28 -0000)]
hust: -Wwrite-strings fixes

17 years agosilly space saving in sed
Denis Vlasenko [Tue, 30 Jan 2007 22:25:16 +0000 (22:25 -0000)]
silly space saving in sed

17 years agomicro optimization
Denis Vlasenko [Tue, 30 Jan 2007 01:11:36 +0000 (01:11 -0000)]
micro optimization

17 years agopreparatory patch for -Wwrite-strings #8 (missed part)
Denis Vlasenko [Tue, 30 Jan 2007 00:44:41 +0000 (00:44 -0000)]
preparatory patch for -Wwrite-strings #8 (missed part)

17 years ago- improve spelling
Bernhard Reutner-Fischer [Mon, 29 Jan 2007 23:56:13 +0000 (23:56 -0000)]
- improve spelling

17 years agopreparatory patch for -Wwrite-strings #7: sed
Denis Vlasenko [Mon, 29 Jan 2007 23:44:38 +0000 (23:44 -0000)]
preparatory patch for -Wwrite-strings #7: sed
remaining: shell (rather scary mess in msh.c)

17 years agopreparatory patch for -Wwrite-strings #6
Denis Vlasenko [Mon, 29 Jan 2007 23:43:52 +0000 (23:43 -0000)]
preparatory patch for -Wwrite-strings #6

17 years agopreparatory patch for -Wwrite-strings #5
Denis Vlasenko [Mon, 29 Jan 2007 23:43:18 +0000 (23:43 -0000)]
preparatory patch for -Wwrite-strings #5

17 years agopreparatory patch for -Wwrite-strings #4
Denis Vlasenko [Mon, 29 Jan 2007 22:51:58 +0000 (22:51 -0000)]
preparatory patch for -Wwrite-strings #4

17 years agopreparatory patch for -Wwrite-strings #3
Denis Vlasenko [Mon, 29 Jan 2007 22:51:44 +0000 (22:51 -0000)]
preparatory patch for -Wwrite-strings #3

17 years agopreparatory patch for -Wwrite-strings #2
Denis Vlasenko [Mon, 29 Jan 2007 22:51:25 +0000 (22:51 -0000)]
preparatory patch for -Wwrite-strings #2

17 years agopreparatory patch for -Wwrite-strings #1
Denis Vlasenko [Mon, 29 Jan 2007 22:51:00 +0000 (22:51 -0000)]
preparatory patch for -Wwrite-strings #1

17 years agotaskset: fix incorrect rage spec and allow 0xXXX input
Denis Vlasenko [Mon, 29 Jan 2007 18:03:54 +0000 (18:03 -0000)]
taskset: fix incorrect rage spec and allow 0xXXX input
ping: shave off 60 bytes

17 years agoadd to testsuite and fix yet another sed corner case
Denis Vlasenko [Mon, 29 Jan 2007 17:10:19 +0000 (17:10 -0000)]
add to testsuite and fix yet another sed corner case