platform/upstream/busybox.git
17 years agodiff: make -U0 work
Denis Vlasenko [Wed, 7 Mar 2007 22:45:42 +0000 (22:45 -0000)]
diff: make -U0 work

17 years agohttpd: make httpd usable for NOMMU CPUs
Denis Vlasenko [Wed, 7 Mar 2007 22:16:38 +0000 (22:16 -0000)]
httpd: make httpd usable for NOMMU CPUs

17 years agobunzip2/gunzip/uncompress/unlzma: merge into common code -
Denis Vlasenko [Wed, 7 Mar 2007 22:02:23 +0000 (22:02 -0000)]
bunzip2/gunzip/uncompress/unlzma: merge into common code -
fix few corner cases, reduce size by 450 bytes. Update testsuite.

17 years agoclean up accumulated whitespace damage
Denis Vlasenko [Wed, 7 Mar 2007 09:35:43 +0000 (09:35 -0000)]
clean up accumulated whitespace damage

17 years agowho: stop using static buffer, small size optimizations
Denis Vlasenko [Wed, 7 Mar 2007 00:07:42 +0000 (00:07 -0000)]
who: stop using static buffer, small size optimizations

17 years agoifupdown: code to deconstruct the state_list gracefully
Denis Vlasenko [Tue, 6 Mar 2007 22:53:10 +0000 (22:53 -0000)]
ifupdown: code to deconstruct the state_list gracefully
(patch by Gabriel L. Somlo <somlo@cmu.edu>)

17 years agoash: "here document" testcases
Denis Vlasenko [Mon, 5 Mar 2007 21:08:29 +0000 (21:08 -0000)]
ash: "here document" testcases

17 years agoadd ash testcases
Denis Vlasenko [Mon, 5 Mar 2007 20:46:46 +0000 (20:46 -0000)]
add ash testcases

17 years agodecouple INIT and SYSLOGD (patch by Eric Spakman E.Spakman@inter.nl.net)
Denis Vlasenko [Mon, 5 Mar 2007 19:55:30 +0000 (19:55 -0000)]
decouple INIT and SYSLOGD (patch by Eric Spakman E.Spakman@inter.nl.net)

17 years agohttpd: run interpreter for configured file extensions in any dir,
Denis Vlasenko [Mon, 5 Mar 2007 19:24:33 +0000 (19:24 -0000)]
httpd: run interpreter for configured file extensions in any dir,
not only in /cgi-bin/

17 years agoinit: fix handling of stdio file descriptors
Denis Vlasenko [Mon, 5 Mar 2007 19:22:04 +0000 (19:22 -0000)]
init: fix handling of stdio file descriptors

17 years agohttpd: fix breakage (introduced by me)
Denis Vlasenko [Mon, 5 Mar 2007 16:56:25 +0000 (16:56 -0000)]
httpd: fix breakage (introduced by me)

17 years agosmall ash testsuite, adapted from bash
Denis Vlasenko [Mon, 5 Mar 2007 00:27:50 +0000 (00:27 -0000)]
small ash testsuite, adapted from bash
(only a small part of it, actually)

17 years agoash: cosmetic improvements in error messages
Denis Vlasenko [Mon, 5 Mar 2007 00:24:52 +0000 (00:24 -0000)]
ash: cosmetic improvements in error messages

17 years agoremove f words
Denis Vlasenko [Sun, 4 Mar 2007 18:09:50 +0000 (18:09 -0000)]
remove f words

17 years agoash: do not use "safe applets" in non-standalone shell
Denis Vlasenko [Sat, 3 Mar 2007 23:12:17 +0000 (23:12 -0000)]
ash: do not use "safe applets" in non-standalone shell

17 years agotar: handle tarfiles with (broken) checksums a-la Sun.
Denis Vlasenko [Sat, 3 Mar 2007 20:06:59 +0000 (20:06 -0000)]
tar: handle tarfiles with (broken) checksums a-la Sun.

17 years agoping: don't measure times if ping payload is less than 8 bytes;
Denis Vlasenko [Sat, 3 Mar 2007 00:36:35 +0000 (00:36 -0000)]
ping: don't measure times if ping payload is less than 8 bytes;
commonalize some ping code.

17 years agols: w/o -l follow symlinks to dirs for commandline args
Denis Vlasenko [Wed, 28 Feb 2007 23:14:06 +0000 (23:14 -0000)]
ls: w/o -l follow symlinks to dirs for commandline args

17 years agoI *always* forget svn add :(
Denis Vlasenko [Tue, 27 Feb 2007 22:39:19 +0000 (22:39 -0000)]
I *always* forget svn add :(

17 years agoudhcp: optionally support RFC3397 (by Gabriel L. Somlo <somlo@cmu.edu>)
Denis Vlasenko [Tue, 27 Feb 2007 21:15:08 +0000 (21:15 -0000)]
udhcp: optionally support RFC3397 (by Gabriel L. Somlo <somlo@cmu.edu>)

17 years agoinit: de-indent a block of code
Denis Vlasenko [Tue, 27 Feb 2007 19:20:33 +0000 (19:20 -0000)]
init: de-indent a block of code

17 years agoinit: trivial compile fix
Denis Vlasenko [Tue, 27 Feb 2007 19:20:00 +0000 (19:20 -0000)]
init: trivial compile fix

17 years agostart_stop_daemon: add -chuid support
Denis Vlasenko [Mon, 26 Feb 2007 22:47:42 +0000 (22:47 -0000)]
start_stop_daemon: add -chuid support

17 years agogrep: "implement" -a and -I by ignoring them
Denis Vlasenko [Sun, 25 Feb 2007 02:38:54 +0000 (02:38 -0000)]
grep: "implement" -a and -I by ignoring them

17 years agogrep: implement -w
Denis Vlasenko [Sun, 25 Feb 2007 02:38:20 +0000 (02:38 -0000)]
grep: implement -w

17 years agoash: replace xstrdup (shell shall not die)
Denis Vlasenko [Sun, 25 Feb 2007 02:37:49 +0000 (02:37 -0000)]
ash: replace xstrdup (shell shall not die)
grep: fix mis-indented block

17 years agostop using bash'isms ('function')
Denis Vlasenko [Sun, 25 Feb 2007 00:40:37 +0000 (00:40 -0000)]
stop using bash'isms ('function')
runtest: do not depend on busybox.links

17 years agoawk: fix memory leak (can affect large file processing)
Denis Vlasenko [Sat, 24 Feb 2007 17:05:52 +0000 (17:05 -0000)]
awk: fix memory leak (can affect large file processing)

17 years agoash: fix compile problems
Denis Vlasenko [Sat, 24 Feb 2007 13:42:56 +0000 (13:42 -0000)]
ash: fix compile problems

17 years agoash: cleanup part 2.8
Denis Vlasenko [Fri, 23 Feb 2007 21:11:02 +0000 (21:11 -0000)]
ash: cleanup part 2.8

17 years agoash: cleanup part 2.7
Denis Vlasenko [Fri, 23 Feb 2007 21:10:47 +0000 (21:10 -0000)]
ash: cleanup part 2.7

17 years agoash: cleanup part 2.6
Denis Vlasenko [Fri, 23 Feb 2007 21:10:35 +0000 (21:10 -0000)]
ash: cleanup part 2.6

17 years agoash: cleanup part 2.5
Denis Vlasenko [Fri, 23 Feb 2007 21:10:23 +0000 (21:10 -0000)]
ash: cleanup part 2.5

17 years agoash: cleanup part 2.4
Denis Vlasenko [Fri, 23 Feb 2007 21:10:06 +0000 (21:10 -0000)]
ash: cleanup part 2.4

17 years agoash: cleanup part 2.3
Denis Vlasenko [Fri, 23 Feb 2007 21:09:49 +0000 (21:09 -0000)]
ash: cleanup part 2.3

17 years agoash: cleanup part 2.2
Denis Vlasenko [Fri, 23 Feb 2007 21:09:35 +0000 (21:09 -0000)]
ash: cleanup part 2.2

17 years agoash: starting second round of cleanups. #1
Denis Vlasenko [Fri, 23 Feb 2007 21:08:58 +0000 (21:08 -0000)]
ash: starting second round of cleanups. #1

17 years agoash: cleanup part 9
Denis Vlasenko [Fri, 23 Feb 2007 01:05:52 +0000 (01:05 -0000)]
ash: cleanup part 9

17 years agoash: cleanup part 8
Denis Vlasenko [Fri, 23 Feb 2007 01:05:38 +0000 (01:05 -0000)]
ash: cleanup part 8

17 years agoash: cleanup part 7
Denis Vlasenko [Fri, 23 Feb 2007 01:05:26 +0000 (01:05 -0000)]
ash: cleanup part 7

17 years agoash: cleanup part 6
Denis Vlasenko [Fri, 23 Feb 2007 01:05:15 +0000 (01:05 -0000)]
ash: cleanup part 6

17 years agoash: cleanup part 5
Denis Vlasenko [Fri, 23 Feb 2007 01:05:03 +0000 (01:05 -0000)]
ash: cleanup part 5

17 years agoash: cleanup part 4
Denis Vlasenko [Fri, 23 Feb 2007 01:04:50 +0000 (01:04 -0000)]
ash: cleanup part 4

17 years agoash: cleanup part 3
Denis Vlasenko [Fri, 23 Feb 2007 01:04:37 +0000 (01:04 -0000)]
ash: cleanup part 3

17 years agoash: cleanup part 2
Denis Vlasenko [Fri, 23 Feb 2007 01:04:22 +0000 (01:04 -0000)]
ash: cleanup part 2

17 years agoash: cleanup part 1
Denis Vlasenko [Fri, 23 Feb 2007 01:03:40 +0000 (01:03 -0000)]
ash: cleanup part 1

17 years agoinit: stop doing silly things with the console (-400 bytes)
Denis Vlasenko [Wed, 21 Feb 2007 00:15:20 +0000 (00:15 -0000)]
init: stop doing silly things with the console (-400 bytes)
init_shared.[ch]: unused, thus deleted

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