oweals/busybox.git
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

17 years agodisable -Wold-style-definition for gcc 3.x
Denis Vlasenko [Mon, 29 Jan 2007 17:08:51 +0000 (17:08 -0000)]
disable -Wold-style-definition for gcc 3.x

17 years agosed: fix 2 bugs (one testsuite entry + one newly found)
Denis Vlasenko [Mon, 29 Jan 2007 14:31:47 +0000 (14:31 -0000)]
sed: fix 2 bugs (one testsuite entry + one newly found)
but more importantly make code more understandable

17 years agofix all known regressions with sed and also make it simpler
Denis Vlasenko [Sun, 28 Jan 2007 23:26:15 +0000 (23:26 -0000)]
fix all known regressions with sed and also make it simpler

17 years agowc can emit unpredictable amount of whitespace
Denis Vlasenko [Sun, 28 Jan 2007 16:59:30 +0000 (16:59 -0000)]
wc can emit unpredictable amount of whitespace

17 years agowork around gcc bug
Denis Vlasenko [Sun, 28 Jan 2007 16:07:45 +0000 (16:07 -0000)]
work around gcc bug

17 years agofix which-uses-default-path
Denis Vlasenko [Sun, 28 Jan 2007 15:31:19 +0000 (15:31 -0000)]
fix which-uses-default-path

17 years agocorrect bad English
Denis Vlasenko [Sun, 28 Jan 2007 14:51:32 +0000 (14:51 -0000)]
correct bad English

17 years ago- reinstate static for the command string arrray to be gentle to gcc-3.x
Bernhard Reutner-Fischer [Sun, 28 Jan 2007 11:14:26 +0000 (11:14 -0000)]
- reinstate static for the command string arrray to be gentle to gcc-3.x

17 years ago- document the multicast argument for ip link
Bernhard Reutner-Fischer [Sun, 28 Jan 2007 00:39:30 +0000 (00:39 -0000)]
- document the multicast argument for ip link

17 years ago- use uint32_t as suggested by vda.
Bernhard Reutner-Fischer [Sun, 28 Jan 2007 00:20:46 +0000 (00:20 -0000)]
- use uint32_t as suggested by vda.
- minor size- and readability tweaks while at it:
   text    data     bss     dec     hex filename
   2631       0       0    2631     a47 networking/libiproute/iprule.o.orig
   2596       0       0    2596     a24 networking/libiproute/iprule.o

17 years agoether-wake: remove #warning
Denis Vlasenko [Sat, 27 Jan 2007 23:18:58 +0000 (23:18 -0000)]
ether-wake: remove #warning

17 years agosvlogd: batch writes if !timestamp
Denis Vlasenko [Sat, 27 Jan 2007 23:15:50 +0000 (23:15 -0000)]
svlogd: batch writes if !timestamp

17 years agosvlogd: remove unused buffering, stop doing tons of memcpy
Denis Vlasenko [Sat, 27 Jan 2007 22:24:59 +0000 (22:24 -0000)]
svlogd: remove unused buffering, stop doing tons of memcpy

17 years agorunit/* cleanup part 3 (just deleting unused code)
Denis Vlasenko [Sat, 27 Jan 2007 22:22:53 +0000 (22:22 -0000)]
runit/* cleanup part 3 (just deleting unused code)

17 years agorunit/* cleanup part 2
Denis Vlasenko [Sat, 27 Jan 2007 22:22:17 +0000 (22:22 -0000)]
runit/* cleanup part 2

17 years agorunit cleanup part 1
Denis Vlasenko [Sat, 27 Jan 2007 22:21:52 +0000 (22:21 -0000)]
runit cleanup part 1

17 years agouse bb_sanitize_stdio() where appropriate
Denis Vlasenko [Sat, 27 Jan 2007 22:21:12 +0000 (22:21 -0000)]
use bb_sanitize_stdio() where appropriate

17 years ago- sum -r TODO should not print the filename as oposed to -s
Bernhard Reutner-Fischer [Sat, 27 Jan 2007 22:11:28 +0000 (22:11 -0000)]
- sum -r TODO should not print the filename as oposed to -s
  Unfortunately, without rewriting sum, this bugfix adds 19 (!) bytes.

17 years ago- add a very few simple test for sum.
Bernhard Reutner-Fischer [Sat, 27 Jan 2007 22:07:54 +0000 (22:07 -0000)]
- add a very few simple test for sum.
  The very first is currently broken

17 years ago- the testharness needs busybox.links. Now the new foobar.tests work again
Bernhard Reutner-Fischer [Sat, 27 Jan 2007 22:04:58 +0000 (22:04 -0000)]
- the testharness needs busybox.links. Now the new foobar.tests work again

17 years agomake it possible to build bbox without warnings again.
Denis Vlasenko [Sat, 27 Jan 2007 14:03:15 +0000 (14:03 -0000)]
make it possible to build bbox without warnings again.

17 years agofix warning in find.c
Denis Vlasenko [Sat, 27 Jan 2007 13:45:17 +0000 (13:45 -0000)]
fix warning in find.c

17 years agoMake -Werror configurable
Denis Vlasenko [Sat, 27 Jan 2007 13:44:53 +0000 (13:44 -0000)]
Make -Werror configurable

17 years agofix numbering in switch(): we don't have "del" anymore,
Denis Vlasenko [Sat, 27 Jan 2007 13:13:45 +0000 (13:13 -0000)]
fix numbering in switch(): we don't have "del" anymore,
substring match on "delete" handles it ok. But we (I?)
forgot to renumber case labels...

17 years agoadd link to post 1.4.1 patches
Denis Vlasenko [Fri, 26 Jan 2007 23:35:12 +0000 (23:35 -0000)]
add link to post 1.4.1 patches

17 years agofix bin2hex bug. lowercase = uppercase | 0x20, not | 0x10!
Denis Vlasenko [Fri, 26 Jan 2007 23:31:05 +0000 (23:31 -0000)]
fix bin2hex bug. lowercase = uppercase | 0x20, not | 0x10!

17 years agofind: fix -mtime, -mmin, -perm (+ add symbolic perm handling)
Denis Vlasenko [Fri, 26 Jan 2007 23:00:05 +0000 (23:00 -0000)]
find: fix -mtime, -mmin, -perm (+ add symbolic perm handling)
chmod: better name for a variable

17 years agofix "expr has no effect" warning
Denis Vlasenko [Fri, 26 Jan 2007 22:55:12 +0000 (22:55 -0000)]
fix "expr has no effect" warning

17 years agobb_parse_mode: do not do umask() needlessly.
Denis Vlasenko [Fri, 26 Jan 2007 22:54:01 +0000 (22:54 -0000)]
bb_parse_mode: do not do umask() needlessly.

17 years ago- readahead depends on LFS
Bernhard Reutner-Fischer [Fri, 26 Jan 2007 09:03:23 +0000 (09:03 -0000)]
- readahead depends on LFS

17 years agorespect CFLAGS/CPPFLAGS in env
Mike Frysinger [Fri, 26 Jan 2007 07:14:01 +0000 (07:14 -0000)]
respect CFLAGS/CPPFLAGS in env

17 years agofix option -F mishandling
Denis Vlasenko [Fri, 26 Jan 2007 07:02:56 +0000 (07:02 -0000)]
fix option -F mishandling