platform/upstream/busybox.git
21 years agoChange if(x)free(x); to free(x);
Aaron Lehmann [Thu, 28 Nov 2002 11:27:31 +0000 (11:27 -0000)]
Change if(x)free(x); to free(x);

21 years agoStyle, error_msg
Glenn L McGrath [Thu, 28 Nov 2002 11:17:19 +0000 (11:17 -0000)]
Style, error_msg

21 years agoStyle
Glenn L McGrath [Thu, 28 Nov 2002 11:05:28 +0000 (11:05 -0000)]
Style

21 years agoWoops, forgot they printout applet name as well....
Glenn L McGrath [Thu, 28 Nov 2002 10:58:19 +0000 (10:58 -0000)]
Woops, forgot they printout applet name as well....

21 years agoUse standard error messages
Glenn L McGrath [Thu, 28 Nov 2002 10:56:38 +0000 (10:56 -0000)]
Use standard error messages

21 years agoUse error_msg instead of fprintf(stderr
Glenn L McGrath [Thu, 28 Nov 2002 10:49:14 +0000 (10:49 -0000)]
Use error_msg instead of fprintf(stderr

21 years agoUse error_msg instead of fprintf(stderr
Glenn L McGrath [Thu, 28 Nov 2002 10:35:40 +0000 (10:35 -0000)]
Use error_msg instead of fprintf(stderr

21 years agoUse error_msg instead of fprintf(stderr
Glenn L McGrath [Thu, 28 Nov 2002 10:27:50 +0000 (10:27 -0000)]
Use error_msg instead of fprintf(stderr

21 years agoUse error_msg( instead of fprintf(stderr
Glenn L McGrath [Thu, 28 Nov 2002 10:25:19 +0000 (10:25 -0000)]
Use error_msg( instead of fprintf(stderr

21 years agoUse error_msg instead of fprintf(stderr, other minor cleanups
Glenn L McGrath [Thu, 28 Nov 2002 10:20:45 +0000 (10:20 -0000)]
Use error_msg instead of fprintf(stderr, other minor cleanups

21 years agoStyle, minor cleanups
Glenn L McGrath [Thu, 28 Nov 2002 09:52:23 +0000 (09:52 -0000)]
Style, minor cleanups

21 years agoUse error_msg instead of fprintf(stderr
Glenn L McGrath [Thu, 28 Nov 2002 09:40:36 +0000 (09:40 -0000)]
Use error_msg instead of fprintf(stderr

21 years agoUse error_msg instead of fprintf(stderr
Glenn L McGrath [Thu, 28 Nov 2002 09:34:51 +0000 (09:34 -0000)]
Use error_msg instead of fprintf(stderr

21 years agoUse erorr_msg( isntead of fprintf(stderr,
Glenn L McGrath [Thu, 28 Nov 2002 09:30:40 +0000 (09:30 -0000)]
Use erorr_msg( isntead of fprintf(stderr,

21 years agoUse error_msg instead of printf(stderr
Glenn L McGrath [Thu, 28 Nov 2002 09:22:14 +0000 (09:22 -0000)]
Use error_msg instead of printf(stderr

21 years agoStyle
Glenn L McGrath [Thu, 28 Nov 2002 09:09:47 +0000 (09:09 -0000)]
Style

21 years agoUse printf instead of fprintf(stdout
Glenn L McGrath [Thu, 28 Nov 2002 08:37:46 +0000 (08:37 -0000)]
Use printf instead of fprintf(stdout

21 years agoSave a few bytes in show_usage
Glenn L McGrath [Thu, 28 Nov 2002 08:33:04 +0000 (08:33 -0000)]
Save a few bytes in show_usage

21 years agoleft out a \"
Glenn L McGrath [Thu, 28 Nov 2002 00:51:38 +0000 (00:51 -0000)]
left out a \"

21 years agoThis test was hanging
Glenn L McGrath [Thu, 28 Nov 2002 00:47:49 +0000 (00:47 -0000)]
This test was hanging

21 years agoAdds a dummy entry to make it easier to make custom debs
Glenn L McGrath [Wed, 27 Nov 2002 23:40:46 +0000 (23:40 -0000)]
Adds a dummy entry to make it easier to make custom debs

21 years agoInstall symlinks for the udeb, dont install changelogs for the udeb
Glenn L McGrath [Wed, 27 Nov 2002 23:24:49 +0000 (23:24 -0000)]
Install symlinks for the udeb, dont install changelogs for the udeb

21 years agolast_patch_68 from Vladimir N. Oleynik
Glenn L McGrath [Wed, 27 Nov 2002 09:29:49 +0000 (09:29 -0000)]
last_patch_68 from Vladimir N. Oleynik

21 years agoCheck that one and only one of the [cxt] options is given
Glenn L McGrath [Wed, 27 Nov 2002 07:52:22 +0000 (07:52 -0000)]
Check that one and only one of the [cxt] options is given

21 years agofdisk applet by Vladimir N. Oleynik
Glenn L McGrath [Tue, 26 Nov 2002 22:00:21 +0000 (22:00 -0000)]
fdisk applet by Vladimir N. Oleynik

21 years agoName package busybox-unstable to keep a clean seperation between the official packages.
Glenn L McGrath [Tue, 26 Nov 2002 09:05:15 +0000 (09:05 -0000)]
Name package busybox-unstable to keep a clean seperation between the official packages.

21 years agouse #ifdef CONFIG_* instead of #if CONFIG_*
Glenn L McGrath [Tue, 26 Nov 2002 09:02:06 +0000 (09:02 -0000)]
use #ifdef CONFIG_* instead of #if CONFIG_*

21 years agoRequired file for busybox-doc package
Glenn L McGrath [Tue, 26 Nov 2002 03:38:14 +0000 (03:38 -0000)]
Required file for busybox-doc package

21 years agoStore a custom Rules.mak file to enable buildign static binaries
Glenn L McGrath [Tue, 26 Nov 2002 03:08:31 +0000 (03:08 -0000)]
Store a custom Rules.mak file to enable buildign static binaries

21 years agouse #ifdef instead of #if
Glenn L McGrath [Tue, 26 Nov 2002 03:03:41 +0000 (03:03 -0000)]
use #ifdef instead of #if

21 years agoInclude heaps of options as is tradional with this deb
Glenn L McGrath [Tue, 26 Nov 2002 03:01:27 +0000 (03:01 -0000)]
Include heaps of options as is tradional with this deb

21 years agoUse #ifdef instead of #if
Glenn L McGrath [Tue, 26 Nov 2002 02:40:56 +0000 (02:40 -0000)]
Use #ifdef instead of #if

21 years agoFix simple syntax error
Glenn L McGrath [Tue, 26 Nov 2002 02:23:41 +0000 (02:23 -0000)]
Fix simple syntax error

21 years agoMake a seperate busybox-doc package
Glenn L McGrath [Tue, 26 Nov 2002 02:16:06 +0000 (02:16 -0000)]
Make a seperate busybox-doc package

21 years agoUse vfork instead of fork, some more cleanup from Vladimir N. Oleynik
Glenn L McGrath [Mon, 25 Nov 2002 23:57:27 +0000 (23:57 -0000)]
Use vfork instead of fork, some more cleanup from Vladimir N. Oleynik

21 years agoHandle name entries that have a \0 in them, last_patch_65 from Vladimir N. Oleynik
Glenn L McGrath [Mon, 25 Nov 2002 22:31:37 +0000 (22:31 -0000)]
Handle name entries that have a \0 in them, last_patch_65 from Vladimir N. Oleynik

21 years agolast_patch_67 from Vladimir N. Oleynik
Glenn L McGrath [Mon, 25 Nov 2002 22:12:28 +0000 (22:12 -0000)]
last_patch_67 from Vladimir N. Oleynik

21 years agoDont need a seperate function
Glenn L McGrath [Sun, 24 Nov 2002 23:22:29 +0000 (23:22 -0000)]
Dont need a seperate function

21 years agoWhen making parent directories set permissions based on the base parent tree rather...
Glenn L McGrath [Sun, 24 Nov 2002 22:48:20 +0000 (22:48 -0000)]
When making parent directories set permissions based on the base parent tree rather than the new directory to be created.

21 years agoAdd an input buffer (currently 32kB) to speed things up heaps, it still requires...
Glenn L McGrath [Sun, 24 Nov 2002 06:01:20 +0000 (06:01 -0000)]
Add an input buffer (currently 32kB) to speed things up heaps, it still requires 25% longer to decompress as compared to upstream.

21 years agoinclude libbb after stdlib.h as it breaks dmalloc
Glenn L McGrath [Sun, 24 Nov 2002 01:32:56 +0000 (01:32 -0000)]
include libbb after stdlib.h as it breaks dmalloc

21 years agoFix long filename support
Glenn L McGrath [Sat, 23 Nov 2002 10:44:47 +0000 (10:44 -0000)]
Fix long filename support

21 years agoNew rules file for unstable
Glenn L McGrath [Sat, 23 Nov 2002 07:14:55 +0000 (07:14 -0000)]
New rules file for unstable

21 years agoConfig file for the static deb, based on options from the stable 0.60.5 branch
Glenn L McGrath [Fri, 22 Nov 2002 23:00:16 +0000 (23:00 -0000)]
Config file for the static deb, based on options from the stable 0.60.5 branch

21 years agoConfig file for the standard debian package based on 0.60.5 options
Glenn L McGrath [Fri, 22 Nov 2002 22:16:19 +0000 (22:16 -0000)]
Config file for the standard debian package based on 0.60.5 options

21 years agoThe tunnel option isnt required for the ip command
Glenn L McGrath [Fri, 22 Nov 2002 21:43:08 +0000 (21:43 -0000)]
The tunnel option isnt required for the ip command

21 years agoUpdate configuration options
Glenn L McGrath [Fri, 22 Nov 2002 11:39:42 +0000 (11:39 -0000)]
Update configuration options

21 years agoConfig file for udeb based on options from 0.60.5
Glenn L McGrath [Fri, 22 Nov 2002 10:39:09 +0000 (10:39 -0000)]
Config file for udeb based on options from 0.60.5

21 years agoFix a vfork bug, by Nick Fedchik and Vladimir N. Oleynik
Glenn L McGrath [Thu, 21 Nov 2002 22:17:11 +0000 (22:17 -0000)]
Fix a vfork bug, by Nick Fedchik and Vladimir N. Oleynik

21 years agoAdd entry for Laurence Anderson
Glenn L McGrath [Wed, 20 Nov 2002 22:01:48 +0000 (22:01 -0000)]
Add entry for Laurence Anderson

21 years agoSpeed and memory usage improvements from Laurence Adnerson
Glenn L McGrath [Wed, 20 Nov 2002 22:00:31 +0000 (22:00 -0000)]
Speed and memory usage improvements from Laurence Adnerson

21 years agoread_gz patch 3 from Laurence Anderson
Glenn L McGrath [Wed, 20 Nov 2002 06:46:46 +0000 (06:46 -0000)]
read_gz patch 3 from Laurence Anderson

21 years agoHeaders for the read_gz changes
Glenn L McGrath [Tue, 19 Nov 2002 21:07:17 +0000 (21:07 -0000)]
Headers for the read_gz changes

21 years agoDont use xargs
Glenn L McGrath [Tue, 19 Nov 2002 09:58:56 +0000 (09:58 -0000)]
Dont use xargs

21 years agodont use the -i option of xargs
Glenn L McGrath [Tue, 19 Nov 2002 09:23:13 +0000 (09:23 -0000)]
dont use the -i option of xargs

21 years agoUse read_gz, remove fork() woohoo!
Glenn L McGrath [Tue, 19 Nov 2002 08:22:03 +0000 (08:22 -0000)]
Use read_gz, remove fork() woohoo!

21 years agoudhcpc documentation update
Russ Dill [Tue, 19 Nov 2002 00:41:09 +0000 (00:41 -0000)]
udhcpc documentation update

21 years agoUse error_msg_and_die, style
Glenn L McGrath [Mon, 18 Nov 2002 07:26:42 +0000 (07:26 -0000)]
Use error_msg_and_die, style

21 years agoRemove mapping option, its should always be used
Glenn L McGrath [Sun, 17 Nov 2002 21:48:11 +0000 (21:48 -0000)]
Remove mapping option, its should always be used

21 years agoPatch from Laurence Anderson to provide a read_gz function, doesnt require fork(...
Glenn L McGrath [Sun, 17 Nov 2002 21:33:30 +0000 (21:33 -0000)]
Patch from Laurence Anderson to provide a read_gz function, doesnt require fork(), pipe(), consistent with read_bz2 and more flexible.

21 years agoRemove #defines around get_header_ptr, we allways need it.
Glenn L McGrath [Sat, 16 Nov 2002 21:34:57 +0000 (21:34 -0000)]
Remove #defines around get_header_ptr, we allways need it.

21 years agoUse vfork, by vodz
Glenn L McGrath [Fri, 15 Nov 2002 22:18:01 +0000 (22:18 -0000)]
Use vfork, by vodz

21 years agoAllow short reads as we are looping anyway.
Glenn L McGrath [Fri, 15 Nov 2002 21:58:30 +0000 (21:58 -0000)]
Allow short reads as we are looping anyway.

21 years agoPatch from Bastian Blank:
Eric Andersen [Fri, 15 Nov 2002 09:12:47 +0000 (09:12 -0000)]
Patch from Bastian Blank:

    hi erik

    the following patch fixes the handling of iproute add <route> dev <dev>.
    the code got lost while removing things.

    bastian

21 years agoDont chdir untill after we open the archive
Glenn L McGrath [Fri, 15 Nov 2002 08:48:47 +0000 (08:48 -0000)]
Dont chdir untill after we open the archive

21 years agoPatch from Marcel Hamer to fix addgroup argument parsing
Eric Andersen [Thu, 14 Nov 2002 11:10:14 +0000 (11:10 -0000)]
Patch from Marcel Hamer to fix addgroup argument parsing

21 years agoA missing securetty file is not an error.
Eric Andersen [Thu, 14 Nov 2002 10:58:17 +0000 (10:58 -0000)]
A missing securetty file is not an error.
 -Erik

21 years agoMinor cleanups
Glenn L McGrath [Wed, 13 Nov 2002 00:24:20 +0000 (00:24 -0000)]
Minor cleanups

21 years agoReduce block size to 512 to prevent short read's when reading from a pipe
Glenn L McGrath [Tue, 12 Nov 2002 23:34:15 +0000 (23:34 -0000)]
Reduce block size to 512 to prevent short read's when reading from a pipe

21 years agoMake ifupdown use internal run_parts
Glenn L McGrath [Mon, 11 Nov 2002 07:03:02 +0000 (07:03 -0000)]
Make ifupdown use internal run_parts

21 years agoMove awk from textutils to editors. Cleanup run-parts, saves 200 bytes, moves the...
Glenn L McGrath [Mon, 11 Nov 2002 06:21:00 +0000 (06:21 -0000)]
Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, moves the guts of run_parts to libbb to be used by ifupdown.

21 years agoMove readlink, mktemp, run-parts and which to a new debianutils dir.
Glenn L McGrath [Mon, 11 Nov 2002 03:00:12 +0000 (03:00 -0000)]
Move readlink, mktemp, run-parts and which to a new debianutils dir.

21 years agoipcalc applet by Stephan Linz and Jordan Crouse
Glenn L McGrath [Sun, 10 Nov 2002 23:42:27 +0000 (23:42 -0000)]
ipcalc applet by Stephan Linz and Jordan Crouse

21 years agorun through indent and manually check result
Glenn L McGrath [Sun, 10 Nov 2002 22:46:45 +0000 (22:46 -0000)]
run through indent and manually check result

21 years agoConfig feature DEVPTS defined and used in telnetd, by Pavel Roskin
Glenn L McGrath [Sun, 10 Nov 2002 22:26:19 +0000 (22:26 -0000)]
Config feature DEVPTS defined and used in telnetd, by Pavel Roskin

21 years agoWill the real od.c please stand up! (my previous commit was a mistake)
Glenn L McGrath [Sun, 10 Nov 2002 22:16:09 +0000 (22:16 -0000)]
Will the real od.c please stand up! (my previous commit was a mistake)

21 years agoFix for hostname -s, by Stephan Linz
Glenn L McGrath [Sun, 10 Nov 2002 22:07:48 +0000 (22:07 -0000)]
Fix for hostname -s, by Stephan Linz

21 years agoPrevent a segfault if no argument, by Geoffrey Lee <glee@bluesat.unsw.edu.au>
Glenn L McGrath [Sun, 10 Nov 2002 21:52:59 +0000 (21:52 -0000)]
Prevent a segfault if no argument, by Geoffrey Lee <glee@bluesat.unsw.edu.au>

21 years agoRewrite of xargs by Vladimir N. Oleynik
Glenn L McGrath [Sun, 10 Nov 2002 21:47:17 +0000 (21:47 -0000)]
Rewrite of xargs by Vladimir N. Oleynik

21 years agolast_patch57 from Vladimir N. Oleynik
Glenn L McGrath [Sun, 10 Nov 2002 21:33:28 +0000 (21:33 -0000)]
last_patch57 from Vladimir N. Oleynik

21 years agolast_patch64 from Vladimir N. Oleynik <dzo@simtreas.ru>
Glenn L McGrath [Sun, 10 Nov 2002 21:28:13 +0000 (21:28 -0000)]
last_patch64 from Vladimir N. Oleynik <dzo@simtreas.ru>

21 years agoFixup a previous define
Glenn L McGrath [Sun, 10 Nov 2002 13:20:35 +0000 (13:20 -0000)]
Fixup a previous define

21 years agoMake mapping support a definable feature, saves 1.6kB
Glenn L McGrath [Sun, 10 Nov 2002 13:17:08 +0000 (13:17 -0000)]
Make mapping support a definable feature, saves 1.6kB

21 years agoOnly compile the files in this dir if the IP applet is enabled
Glenn L McGrath [Sun, 10 Nov 2002 10:20:45 +0000 (10:20 -0000)]
Only compile the files in this dir if the IP applet is enabled

21 years agoIP applet by Bastian Blank <waldi@debian.org>
Glenn L McGrath [Sun, 10 Nov 2002 01:33:55 +0000 (01:33 -0000)]
IP applet by Bastian Blank <waldi@debian.org>

21 years agodebian compatable ifup and ifdown commands
Glenn L McGrath [Sat, 9 Nov 2002 09:34:15 +0000 (09:34 -0000)]
debian compatable ifup and ifdown commands

21 years agoTeach lash to get $1 $2 $3 etc correct
Eric Andersen [Fri, 8 Nov 2002 09:40:02 +0000 (09:40 -0000)]
Teach lash to get $1 $2 $3 etc correct
 -Erik

21 years ago#ifdef, not just #if... grrr
Glenn L McGrath [Fri, 8 Nov 2002 08:07:38 +0000 (08:07 -0000)]
#ifdef, not just #if... grrr

21 years agoFix reading from stdin (me), Fix tar segfault when no arguments specified (Geoffrey...
Glenn L McGrath [Fri, 8 Nov 2002 07:09:42 +0000 (07:09 -0000)]
Fix reading from stdin (me), Fix tar segfault when no arguments specified (Geoffrey Lee)

21 years agoRemove gratuitous and unnecessary "BusyBox" refernece in login prompt
Eric Andersen [Thu, 7 Nov 2002 02:45:55 +0000 (02:45 -0000)]
Remove gratuitous and unnecessary "BusyBox" refernece in login prompt
 -Erik

21 years agoFix a stupid typo
Eric Andersen [Thu, 7 Nov 2002 02:26:59 +0000 (02:26 -0000)]
Fix a stupid typo

21 years agoImplement a small strings applet
Eric Andersen [Thu, 7 Nov 2002 02:09:37 +0000 (02:09 -0000)]
Implement a small strings applet

21 years agoFix broken tabs
Eric Andersen [Thu, 7 Nov 2002 02:06:58 +0000 (02:06 -0000)]
Fix broken tabs

21 years agoUse a switch instead of successive if (strcmp()) statments.
Glenn L McGrath [Wed, 6 Nov 2002 23:35:28 +0000 (23:35 -0000)]
Use a switch instead of successive if (strcmp()) statments.

21 years agoSplit deb_extract() into more generic functions
Glenn L McGrath [Wed, 6 Nov 2002 22:54:41 +0000 (22:54 -0000)]
Split deb_extract() into more generic functions

21 years agoTerminate the buffer with a '\0'
Glenn L McGrath [Wed, 6 Nov 2002 22:31:45 +0000 (22:31 -0000)]
Terminate the buffer with a '\0'

21 years agotypo in udhcpc help
Russ Dill [Tue, 5 Nov 2002 20:13:41 +0000 (20:13 -0000)]
typo in udhcpc help

21 years agoversion number oops
Russ Dill [Tue, 5 Nov 2002 20:10:21 +0000 (20:10 -0000)]
version number oops

21 years agoSupport for bziped debs, i.e. use .tar.bz2 instead .tar.gz internally
Glenn L McGrath [Tue, 5 Nov 2002 13:56:04 +0000 (13:56 -0000)]
Support for bziped debs, i.e. use .tar.bz2 instead .tar.gz internally

21 years agoFail silently if a partial tar header is read as tar.bz2 is leaving trailing junk...
Glenn L McGrath [Tue, 5 Nov 2002 02:56:57 +0000 (02:56 -0000)]
Fail silently if a partial tar header is read as tar.bz2 is leaving trailing junk (not sure why), add some missing files