people/mcb30/busybox.git
18 years agoFix the location for the default config so 'make defconfig'
andersen [Thu, 12 Jun 2003 22:09:08 +0000 (22:09 +0000)]
Fix the location for the default config so 'make defconfig'
actually works

git-svn-id: svn://busybox.net/trunk/busybox@6913 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoHandle hard links by converting them to symlinks
bug1 [Thu, 12 Jun 2003 13:47:16 +0000 (13:47 +0000)]
Handle hard links by converting them to symlinks

git-svn-id: svn://busybox.net/trunk/busybox@6910 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoVodz, last_patch_88
bug1 [Tue, 10 Jun 2003 17:22:49 +0000 (17:22 +0000)]
Vodz, last_patch_88

git-svn-id: svn://busybox.net/trunk/busybox@6906 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agosha1sum option to compare checksums
bug1 [Sun, 8 Jun 2003 13:32:12 +0000 (13:32 +0000)]
sha1sum option to compare checksums

git-svn-id: svn://busybox.net/trunk/busybox@6901 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoBetter error handling
bug1 [Sat, 7 Jun 2003 17:38:33 +0000 (17:38 +0000)]
Better error handling

git-svn-id: svn://busybox.net/trunk/busybox@6900 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoMinor correction
bug1 [Sat, 7 Jun 2003 17:11:00 +0000 (17:11 +0000)]
Minor correction

git-svn-id: svn://busybox.net/trunk/busybox@6899 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoFix bug (wrong value computed) when reading file from stdin, implement
bug1 [Sat, 7 Jun 2003 17:06:28 +0000 (17:06 +0000)]
Fix bug (wrong value computed) when reading file from stdin, implement
-s option

git-svn-id: svn://busybox.net/trunk/busybox@6898 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoRun through indent
bug1 [Sat, 7 Jun 2003 14:54:24 +0000 (14:54 +0000)]
Run through indent

git-svn-id: svn://busybox.net/trunk/busybox@6897 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoPatch from Lars Kellogg-Stedman, lars at larsshack.org, to
andersen [Thu, 5 Jun 2003 19:37:01 +0000 (19:37 +0000)]
Patch from Lars Kellogg-Stedman, lars at larsshack.org, to
make ifupdown's mapping function work as documented.

git-svn-id: svn://busybox.net/trunk/busybox@6894 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoPut this back the way it was. I misunderstood what vodz was doing.
andersen [Tue, 27 May 2003 20:45:59 +0000 (20:45 +0000)]
Put this back the way it was.  I misunderstood what vodz was doing.

git-svn-id: svn://busybox.net/trunk/busybox@6862 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoMake all syscall declarations use the syscall() function
andersen [Mon, 26 May 2003 18:48:56 +0000 (18:48 +0000)]
Make all syscall declarations use the syscall() function

git-svn-id: svn://busybox.net/trunk/busybox@6859 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoThis was doing some silly stuff that is not necessary when using
andersen [Mon, 26 May 2003 18:12:00 +0000 (18:12 +0000)]
This was doing some silly stuff that is not necessary when using
vfork(), so I have simplified it.

git-svn-id: svn://busybox.net/trunk/busybox@6858 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agocleanup a bit to remove needless verify() function
andersen [Mon, 26 May 2003 18:09:14 +0000 (18:09 +0000)]
cleanup a bit to remove needless verify() function

git-svn-id: svn://busybox.net/trunk/busybox@6857 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoSkip printing "/proc/%d/cmdline" stuff when it is not relevant
andersen [Mon, 26 May 2003 18:07:30 +0000 (18:07 +0000)]
Skip printing "/proc/%d/cmdline" stuff when it is not relevant

git-svn-id: svn://busybox.net/trunk/busybox@6856 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoRemove cruft
andersen [Mon, 26 May 2003 18:06:20 +0000 (18:06 +0000)]
Remove cruft

git-svn-id: svn://busybox.net/trunk/busybox@6855 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoVodz, last_path_87, formatiing changes
bug1 [Mon, 26 May 2003 14:09:12 +0000 (14:09 +0000)]
Vodz, last_path_87, formatiing changes

git-svn-id: svn://busybox.net/trunk/busybox@6854 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoVodz, last_patch_86
bug1 [Mon, 26 May 2003 14:07:50 +0000 (14:07 +0000)]
Vodz, last_patch_86

git-svn-id: svn://busybox.net/trunk/busybox@6853 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoUpdate mkdep, per the "touchless dependencies for 2.4.x" patch
andersen [Sat, 24 May 2003 07:30:58 +0000 (07:30 +0000)]
Update mkdep, per the "touchless dependencies for 2.4.x" patch
from Geert Uytterhoeven posted to the lkml.
 -Erik

git-svn-id: svn://busybox.net/trunk/busybox@6852 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agooops
andersen [Fri, 23 May 2003 09:29:57 +0000 (09:29 +0000)]
oops

git-svn-id: svn://busybox.net/trunk/busybox@6850 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoThis patch from Vitezslav Batrla, is a cleaner fix for the
andersen [Fri, 23 May 2003 09:28:01 +0000 (09:28 +0000)]
This patch from Vitezslav Batrla, is a cleaner fix for the
problem with syslogd logging the '<' char.

git-svn-id: svn://busybox.net/trunk/busybox@6849 69ca8d6d-28ef-0310-b511-8ec308f3f277

18 years agoPatch from Russell Coker:
andersen [Thu, 22 May 2003 07:10:22 +0000 (07:10 +0000)]
Patch from Russell Coker:

The attached patch fixes a compilation error.  If you compile ping6 without
the CONFIG_FEATURE_FANCY_PING6 option then the compile will fail without this
patch.

git-svn-id: svn://busybox.net/trunk/busybox@6847 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoPatch from Glenn Engel
bug1 [Mon, 19 May 2003 05:56:16 +0000 (05:56 +0000)]
Patch from Glenn Engel
- more comments
- larger allowed number of CGI script variables
- ifdefs for regression test hooks
- default to ./ rather than /www (if unspecified) for compatibility with
earlier versions.
- Allow ip: as a synomym for A: rules for compatibility with earlier
versions.
- Setting of CGI_ARGLIST_  when automatic setting of env vars for form
scripting is utilized.  This helps with minimal systems like openap.

git-svn-id: svn://busybox.net/trunk/busybox@6846 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoHandle -O preceding -x.
kraai [Sun, 18 May 2003 21:12:36 +0000 (21:12 +0000)]
Handle -O preceding -x.

git-svn-id: svn://busybox.net/trunk/busybox@6845 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoApply patch from Georg Magschok to fix syslog behavior so that the
andersen [Fri, 16 May 2003 08:35:02 +0000 (08:35 +0000)]
Apply patch from Georg Magschok to fix syslog behavior so that the
'>' charactor can be logged, per rfc3164.

Also, a small patch from me to fix it so we use MAXLINE when allocating the
buffer, which is consistant with use everywhere else.  This is needed since
uClibc defines BUFSIZE as 255, causing lines to be truncated at 255...

git-svn-id: svn://busybox.net/trunk/busybox@6844 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoPart of a patch from Glenn Engel, updates httpd help
bug1 [Wed, 14 May 2003 12:20:21 +0000 (12:20 +0000)]
Part of a patch from Glenn Engel, updates httpd help

git-svn-id: svn://busybox.net/trunk/busybox@6840 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agovodz, last_patch_85
bug1 [Wed, 14 May 2003 12:11:36 +0000 (12:11 +0000)]
vodz, last_patch_85

git-svn-id: svn://busybox.net/trunk/busybox@6839 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoRe-use existing variables, patch from Tito
bug1 [Tue, 13 May 2003 16:31:15 +0000 (16:31 +0000)]
Re-use existing variables, patch from Tito

git-svn-id: svn://busybox.net/trunk/busybox@6837 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agolast_patch84 by Vodz.
bug1 [Tue, 13 May 2003 16:20:11 +0000 (16:20 +0000)]
last_patch84 by Vodz.

git-svn-id: svn://busybox.net/trunk/busybox@6836 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoAdd some missing lines for getty, patch by Steven Scholz
bug1 [Tue, 13 May 2003 14:59:07 +0000 (14:59 +0000)]
Add some missing lines for getty, patch by Steven Scholz

git-svn-id: svn://busybox.net/trunk/busybox@6835 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoFix \l so it doesnt print the character as well as the tty, from old
bug1 [Tue, 13 May 2003 13:28:25 +0000 (13:28 +0000)]
Fix \l so it doesnt print the character as well as the tty, from old
patch by Nick Fedchik

git-svn-id: svn://busybox.net/trunk/busybox@6834 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agominit, a Minimal init system.
bug1 [Sun, 11 May 2003 14:52:39 +0000 (14:52 +0000)]
minit, a Minimal init system.

git-svn-id: svn://busybox.net/trunk/busybox@6833 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoUse xopen instead of xfopen
bug1 [Thu, 8 May 2003 13:09:28 +0000 (13:09 +0000)]
Use xopen instead of xfopen

git-svn-id: svn://busybox.net/trunk/busybox@6832 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoPatch from Dmitry V. Levin to fix a fd leak
andersen [Fri, 2 May 2003 16:25:01 +0000 (16:25 +0000)]
Patch from Dmitry V. Levin to fix a fd leak

git-svn-id: svn://busybox.net/trunk/busybox@6830 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoA couple of patches from Tito <farmatito@tiscali.it>
andersen [Sun, 27 Apr 2003 10:42:31 +0000 (10:42 +0000)]
A couple of patches from Tito <farmatito@tiscali.it>

git-svn-id: svn://busybox.net/trunk/busybox@6823 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoUse bb_xgetlarg
bug1 [Sun, 27 Apr 2003 10:05:35 +0000 (10:05 +0000)]
Use bb_xgetlarg

git-svn-id: svn://busybox.net/trunk/busybox@6822 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoNew applet, fold
bug1 [Sun, 27 Apr 2003 06:02:14 +0000 (06:02 +0000)]
New applet, fold

git-svn-id: svn://busybox.net/trunk/busybox@6821 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoConfig option to create an fgrep alias
bug1 [Sun, 27 Apr 2003 02:43:54 +0000 (02:43 +0000)]
Config option to create an fgrep alias

git-svn-id: svn://busybox.net/trunk/busybox@6820 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoFix segfault when cleaning up
bug1 [Sun, 27 Apr 2003 02:22:01 +0000 (02:22 +0000)]
Fix segfault when cleaning up

git-svn-id: svn://busybox.net/trunk/busybox@6819 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agogrep -f support, adds only 60 Bytes, but regex's now compiled as
bug1 [Sun, 27 Apr 2003 01:50:57 +0000 (01:50 +0000)]
grep -f support, adds only 60 Bytes, but regex's now compiled as
required, rather than being pre-compiled.

git-svn-id: svn://busybox.net/trunk/busybox@6818 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoAlways preserve date
bug1 [Sat, 26 Apr 2003 13:16:44 +0000 (13:16 +0000)]
Always preserve date

git-svn-id: svn://busybox.net/trunk/busybox@6817 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoNew commands, 'G' and 'H'
bug1 [Sat, 26 Apr 2003 07:40:07 +0000 (07:40 +0000)]
New commands, 'G' and 'H'

git-svn-id: svn://busybox.net/trunk/busybox@6816 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoAdd the -d option, its used by old versions of config.guess, change to
bug1 [Sat, 26 Apr 2003 04:56:17 +0000 (04:56 +0000)]
Add the -d option, its used by old versions of config.guess, change to
use getopt.

git-svn-id: svn://busybox.net/trunk/busybox@6815 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoiPatch from waldi, fixes usage of ip route flush (from)? (match|exact)
bug1 [Sat, 26 Apr 2003 02:22:19 +0000 (02:22 +0000)]
iPatch from waldi, fixes usage of ip route flush (from)? (match|exact)

git-svn-id: svn://busybox.net/trunk/busybox@6813 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoPatch from Steven Scholz to fix telnetd compile problem
andersen [Fri, 25 Apr 2003 12:32:37 +0000 (12:32 +0000)]
Patch from Steven Scholz to fix telnetd compile problem

git-svn-id: svn://busybox.net/trunk/busybox@6811 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoThere have been many reports of init failing to reboot and/or failing to halt
andersen [Thu, 24 Apr 2003 11:41:28 +0000 (11:41 +0000)]
There have been many reports of init failing to reboot and/or failing to halt
over the years.  Well I finally took the time to track this down.  It turns out
that inside linux/kernel/sys.c the kernel will call
    machine_halt();
    do_exit(0);
when halting, or will call
    machine_power_off();
    do_exit(0);

during a reboot.  Unlike sysv init, we call reboot from within the init
process, so if the call to machine_halt() or machine_power_off() returns,                                       the call to do_exit(0) will cause the kernel to panic.  Which is a very
bad thing to happen.

So I just added this little patch to fork and call the reboot
syscall from within the forked child process, thereby neatly
avoiding the problem.

But IMHO, both calls to do_exit(0) within linux/kernel/sys.c
are bugs and should be fixed.

 -Erik

git-svn-id: svn://busybox.net/trunk/busybox@6808 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agounlink a previous file before its extracted
bug1 [Mon, 21 Apr 2003 11:03:29 +0000 (11:03 +0000)]
unlink a previous file before its extracted

git-svn-id: svn://busybox.net/trunk/busybox@6805 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agosync with waldi
bug1 [Mon, 21 Apr 2003 10:26:39 +0000 (10:26 +0000)]
sync with waldi

git-svn-id: svn://busybox.net/trunk/busybox@6804 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agounlink() an existing file, before opening it, simply truncating can
bug1 [Mon, 21 Apr 2003 10:07:48 +0000 (10:07 +0000)]
unlink() an existing file, before opening it, simply truncating can
cause nasty problems if overwriting glibc, spotted by waldi.

git-svn-id: svn://busybox.net/trunk/busybox@6803 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoAdd link to SimplyGNUstep
andersen [Mon, 21 Apr 2003 03:34:01 +0000 (03:34 +0000)]
Add link to SimplyGNUstep

git-svn-id: svn://busybox.net/trunk/busybox@6801 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoPatch from David Updegraff to use calloc so that forward pointers start out
andersen [Sat, 19 Apr 2003 23:18:35 +0000 (23:18 +0000)]
Patch from David Updegraff to  use calloc so that forward pointers start out
NULL, and so it can handle format strings that have stuff _after_ the last %?
specification

git-svn-id: svn://busybox.net/trunk/busybox@6798 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoPatch from David Updegraff to avoid corrupting memory while parsing the
andersen [Sat, 19 Apr 2003 23:15:06 +0000 (23:15 +0000)]
Patch from David Updegraff to avoid corrupting memory while parsing the
networks/iterfaces file with next_word routine.  Without this, next_word
increments one beyond the end of the string.

git-svn-id: svn://busybox.net/trunk/busybox@6797 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoMinor .o file naming change
andersen [Wed, 16 Apr 2003 23:02:35 +0000 (23:02 +0000)]
Minor .o file naming change

git-svn-id: svn://busybox.net/trunk/busybox@6796 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoenable CONFIG_USE_BB_PWD_GRP for the debian installer,
andersen [Wed, 16 Apr 2003 20:52:01 +0000 (20:52 +0000)]
enable CONFIG_USE_BB_PWD_GRP for the debian installer,
to prevent glibc from trying and failing to use NSS junk
that is not present.
 -Erik

git-svn-id: svn://busybox.net/trunk/busybox@6795 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoFix logic error in grouped commands
bug1 [Sat, 12 Apr 2003 16:10:42 +0000 (16:10 +0000)]
Fix logic error in grouped commands

git-svn-id: svn://busybox.net/trunk/busybox@6792 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoFix up indenting
bug1 [Fri, 11 Apr 2003 17:10:23 +0000 (17:10 +0000)]
Fix up indenting

git-svn-id: svn://busybox.net/trunk/busybox@6791 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoReally fix the 'r' command
bug1 [Wed, 9 Apr 2003 15:52:32 +0000 (15:52 +0000)]
Really fix the 'r' command

git-svn-id: svn://busybox.net/trunk/busybox@6790 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoFix the sed 'r' command
bug1 [Wed, 9 Apr 2003 15:26:14 +0000 (15:26 +0000)]
Fix the sed 'r' command

git-svn-id: svn://busybox.net/trunk/busybox@6789 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agofix substitution when replacing with &, we shouldnt check for an escape charcter...
bug1 [Wed, 9 Apr 2003 07:51:43 +0000 (07:51 +0000)]
fix substitution when replacing with &, we shouldnt check for an escape charcter. Its already been taken care of _somewhere_ else

git-svn-id: svn://busybox.net/trunk/busybox@6788 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoLabel ends at a newline, update comments, rename linked list field
bug1 [Wed, 9 Apr 2003 01:43:54 +0000 (01:43 +0000)]
Label ends at a newline, update comments, rename linked list field

git-svn-id: svn://busybox.net/trunk/busybox@6787 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoRun through indent
bug1 [Tue, 8 Apr 2003 11:56:11 +0000 (11:56 +0000)]
Run through indent

git-svn-id: svn://busybox.net/trunk/busybox@6786 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoFixes block commands to correctly identify end of block, recognise the #n directive...
bug1 [Tue, 8 Apr 2003 06:42:45 +0000 (06:42 +0000)]
Fixes block commands to correctly identify end of block, recognise the #n directive, fix substitue command when regex isnt specified

git-svn-id: svn://busybox.net/trunk/busybox@6785 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoAdd hold space commands 'g', 'h', 'x'
bug1 [Mon, 7 Apr 2003 16:04:14 +0000 (16:04 +0000)]
Add hold space commands 'g', 'h', 'x'

git-svn-id: svn://busybox.net/trunk/busybox@6784 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoRename "line" to pattern_space to be more descriptive and closer to the POSIX description
bug1 [Mon, 7 Apr 2003 12:24:44 +0000 (12:24 +0000)]
Rename "line" to pattern_space to be more descriptive and closer to the POSIX description

git-svn-id: svn://busybox.net/trunk/busybox@6783 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoSync with waldi's package
bug1 [Sun, 6 Apr 2003 15:35:52 +0000 (15:35 +0000)]
Sync with waldi's package

git-svn-id: svn://busybox.net/trunk/busybox@6782 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoPreparation for the new net-udeb based on required applets documented at
bug1 [Sun, 6 Apr 2003 03:39:24 +0000 (03:39 +0000)]
Preparation for the new net-udeb based on required applets documented at
http://cvs.debian.org/debian-installer/doc/busybox-applets.txt

git-svn-id: svn://busybox.net/trunk/busybox@6781 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoAdd more help text
andersen [Fri, 4 Apr 2003 15:20:53 +0000 (15:20 +0000)]
Add more help text

git-svn-id: svn://busybox.net/trunk/busybox@6780 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoTest that cvs commit messages are working properly
andersen [Fri, 4 Apr 2003 14:35:36 +0000 (14:35 +0000)]
Test that cvs commit messages are working properly
 -Erik

git-svn-id: svn://busybox.net/trunk/busybox@6779 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoFix 'thinko'.
mjn3 [Thu, 3 Apr 2003 19:29:11 +0000 (19:29 +0000)]
Fix 'thinko'.

git-svn-id: svn://busybox.net/trunk/busybox@6778 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoYet another rather large face lift. It now works for me as expected.
andersen [Wed, 2 Apr 2003 10:13:26 +0000 (10:13 +0000)]
Yet another rather large face lift.  It now works for me as expected.
 -Erik

git-svn-id: svn://busybox.net/trunk/busybox@6777 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoAvoid errors with buggy preprocessors
andersen [Mon, 31 Mar 2003 16:27:18 +0000 (16:27 +0000)]
Avoid errors with buggy preprocessors

git-svn-id: svn://busybox.net/trunk/busybox@6774 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoUpdate config to new menu options
bug1 [Sun, 30 Mar 2003 16:10:06 +0000 (16:10 +0000)]
Update config to new menu options

git-svn-id: svn://busybox.net/trunk/busybox@6773 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoRename, to specify kernel
bug1 [Sun, 30 Mar 2003 13:57:26 +0000 (13:57 +0000)]
Rename, to specify kernel

git-svn-id: svn://busybox.net/trunk/busybox@6772 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoGroup common string
bug1 [Sun, 30 Mar 2003 09:38:40 +0000 (09:38 +0000)]
Group common string

git-svn-id: svn://busybox.net/trunk/busybox@6771 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoSmall fix for sed 'y' command
bug1 [Sun, 30 Mar 2003 08:40:09 +0000 (08:40 +0000)]
Small fix for sed 'y' command

git-svn-id: svn://busybox.net/trunk/busybox@6770 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agosed 'y' command, simplify some other code
bug1 [Sun, 30 Mar 2003 08:02:18 +0000 (08:02 +0000)]
sed 'y' command, simplify some other code

git-svn-id: svn://busybox.net/trunk/busybox@6769 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoExperimental support for embeded newline. (im evil)
bug1 [Sun, 30 Mar 2003 03:41:53 +0000 (03:41 +0000)]
Experimental support for embeded newline. (im evil)
Fix segfault when using 'N' with an odd number of lines.

git-svn-id: svn://busybox.net/trunk/busybox@6768 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agotrivial fix to make sure we have sufficient arguments before
andersen [Fri, 28 Mar 2003 16:54:14 +0000 (16:54 +0000)]
trivial fix to make sure we have sufficient arguments before
we mess with a possibly non-existant argv[1]
 -Erik

git-svn-id: svn://busybox.net/trunk/busybox@6767 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoStill fine tunning the printing of the substitute command
bug1 [Fri, 28 Mar 2003 14:11:34 +0000 (14:11 +0000)]
Still fine tunning the printing of the substitute command

git-svn-id: svn://busybox.net/trunk/busybox@6766 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agosed 't' branching command
bug1 [Fri, 28 Mar 2003 08:36:52 +0000 (08:36 +0000)]
sed 't' branching command

git-svn-id: svn://busybox.net/trunk/busybox@6765 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoFix sed 's' command's 'p' flag, so it can print line twice
bug1 [Fri, 28 Mar 2003 07:44:03 +0000 (07:44 +0000)]
Fix sed 's' command's 'p' flag, so it can print line twice

git-svn-id: svn://busybox.net/trunk/busybox@6764 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agofix q command
bug1 [Fri, 28 Mar 2003 04:57:52 +0000 (04:57 +0000)]
fix q command

git-svn-id: svn://busybox.net/trunk/busybox@6763 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoAdd basic branching support, sed ':' and 'b' commands
bug1 [Fri, 28 Mar 2003 04:43:39 +0000 (04:43 +0000)]
Add basic branching support, sed ':' and 'b' commands

git-svn-id: svn://busybox.net/trunk/busybox@6762 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agomake sed cleanup use linked list
bug1 [Fri, 28 Mar 2003 04:23:23 +0000 (04:23 +0000)]
make sed cleanup use linked list

git-svn-id: svn://busybox.net/trunk/busybox@6761 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoUse a linked list for sed commands in preparation for branching support
bug1 [Fri, 28 Mar 2003 03:53:31 +0000 (03:53 +0000)]
Use a linked list for sed commands in preparation for branching support

git-svn-id: svn://busybox.net/trunk/busybox@6760 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoOops... had != but meant ==.
mjn3 [Sun, 23 Mar 2003 20:27:33 +0000 (20:27 +0000)]
Oops... had != but meant ==.

git-svn-id: svn://busybox.net/trunk/busybox@6757 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoMinor cleanups. Document the cmp -l option.
mjn3 [Wed, 19 Mar 2003 18:40:42 +0000 (18:40 +0000)]
Minor cleanups.  Document the cmp -l option.

git-svn-id: svn://busybox.net/trunk/busybox@6755 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoRestrict octal perms to <= 07777. Cosmetic error message change.
mjn3 [Wed, 19 Mar 2003 18:09:03 +0000 (18:09 +0000)]
Restrict octal perms to <= 07777.  Cosmetic error message change.

git-svn-id: svn://busybox.net/trunk/busybox@6754 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoObligatory forgotten item.
mjn3 [Wed, 19 Mar 2003 09:42:33 +0000 (09:42 +0000)]
Obligatory forgotten item.

git-svn-id: svn://busybox.net/trunk/busybox@6753 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoThings my compiler didn't catch...
mjn3 [Wed, 19 Mar 2003 09:42:02 +0000 (09:42 +0000)]
Things my compiler didn't catch...

git-svn-id: svn://busybox.net/trunk/busybox@6752 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoMajor coreutils update.
mjn3 [Wed, 19 Mar 2003 09:13:01 +0000 (09:13 +0000)]
Major coreutils update.

git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoMatch newlines, this fixes matching of ^ or $ when there is a '\n' in the pattern...
bug1 [Tue, 18 Mar 2003 08:37:57 +0000 (08:37 +0000)]
Match newlines, this fixes matching of ^ or $ when there is a '\n' in the pattern being matched. This fixes cases when the N command is used.

git-svn-id: svn://busybox.net/trunk/busybox@6750 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoFix a bug that corrupted the string followed commands that had no arguments (Closes...
bug1 [Tue, 18 Mar 2003 01:19:23 +0000 (01:19 +0000)]
Fix a bug that corrupted the string followed commands that had no arguments (Closes #1304)

git-svn-id: svn://busybox.net/trunk/busybox@6749 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoPatch from Jonas Holmberg, adjusted by Robert Schwebel, and
andersen [Fri, 14 Mar 2003 16:05:59 +0000 (16:05 +0000)]
Patch from Jonas Holmberg, adjusted by Robert Schwebel, and
later re-adjusted by me to fix msh backtick handling

git-svn-id: svn://busybox.net/trunk/busybox@6748 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agooops. args shuffled.
andersen [Thu, 13 Mar 2003 20:54:26 +0000 (20:54 +0000)]
oops.  args shuffled.

git-svn-id: svn://busybox.net/trunk/busybox@6747 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoFix obviously wrong names from older busybox
andersen [Thu, 13 Mar 2003 18:57:08 +0000 (18:57 +0000)]
Fix obviously wrong names from older busybox

git-svn-id: svn://busybox.net/trunk/busybox@6743 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoPatch from Tito Ragusa:
andersen [Thu, 13 Mar 2003 18:49:45 +0000 (18:49 +0000)]
Patch from Tito Ragusa:

The changes I've made: in strings.c:
1) fix memory allocation error I've detected with MALLOC_CHECK_=1 in *string;
2) code clean up;
3) fix compiler warnings about uninitialized vars;

git-svn-id: svn://busybox.net/trunk/busybox@6742 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agocope with crappy windoze ftp servers
andersen [Tue, 11 Mar 2003 18:03:39 +0000 (18:03 +0000)]
cope with crappy windoze ftp servers

git-svn-id: svn://busybox.net/trunk/busybox@6738 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoAvoid potential rendering problems
andersen [Mon, 10 Mar 2003 17:21:46 +0000 (17:21 +0000)]
Avoid potential rendering problems

git-svn-id: svn://busybox.net/trunk/busybox@6730 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agofix n, add N, P
bug1 [Mon, 10 Mar 2003 04:12:35 +0000 (04:12 +0000)]
fix n, add N, P

git-svn-id: svn://busybox.net/trunk/busybox@6729 69ca8d6d-28ef-0310-b511-8ec308f3f277

19 years agoadd the 'n' command
bug1 [Mon, 10 Mar 2003 02:56:56 +0000 (02:56 +0000)]
add the 'n' command

git-svn-id: svn://busybox.net/trunk/busybox@6728 69ca8d6d-28ef-0310-b511-8ec308f3f277