Eric Andersen [Thu, 6 Jul 2000 01:57:20 +0000 (01:57 -0000)]
Remove MAXNAMLEN and use BUFSIZ instead.
-Erik
Eric Andersen [Wed, 5 Jul 2000 19:29:59 +0000 (19:29 -0000)]
Remove misguided klude around for 2.4.x-test* brokenness. Al Viro
will be removing this stuff from /proc/mounts real soon now I am assured.
-Erik
Eric Andersen [Wed, 5 Jul 2000 17:26:35 +0000 (17:26 -0000)]
* Fix to tr so it recognizes standard escape sequences. Merged common
escape seq. code from tr and echo into utility.c. Fix thanks to
Matt Kraai <kraai@alumni.carnegiemellon.edu>.
* This should close Bug #1015. Please test.
-Erik
Eric Andersen [Wed, 5 Jul 2000 17:21:58 +0000 (17:21 -0000)]
Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu> to
simplify ar.c and make it more readable.
-Erik
Eric Andersen [Tue, 4 Jul 2000 22:17:01 +0000 (22:17 -0000)]
Some cosmetic updates. Changed "OPTIONS" to "Options".
-Erik
Eric Andersen [Tue, 4 Jul 2000 20:07:13 +0000 (20:07 -0000)]
More doc updates
-Erik
Eric Andersen [Tue, 4 Jul 2000 19:42:23 +0000 (19:42 -0000)]
A first pass at integrating the SGML docs into the Makefile.
A first pass a cleaning up the current SGML (lots more cleanup
is needed though).
-Erik
Eric Andersen [Tue, 4 Jul 2000 19:41:23 +0000 (19:41 -0000)]
* Fix to init.c from Stuart Menefy <Stuart.Menefy@st.com> so that
it always sets the controlling terminal before running any programs
-Erik
Eric Andersen [Tue, 4 Jul 2000 06:22:18 +0000 (06:22 -0000)]
Fixed a potential infinite loop. First delete any chars after the
cursor, then delete everything before it. Before this, we would just
delete everything before the cursor and freak out if there were still
chars left (i.e. stuff after the cursor).
-Erik
Eric Andersen [Mon, 3 Jul 2000 23:56:26 +0000 (23:56 -0000)]
sh fixes from Marius Groeger <mag@sysgo.de>
-Erik
Eric Andersen [Mon, 3 Jul 2000 14:55:49 +0000 (14:55 -0000)]
Added support for ignoring '-g' per GNU ls, thanks to David Vrabel
<dvrabel@arcom.co.uk>. Seems some ftp clients expect the '-g' option
to exist.
-Erik
Eric Andersen [Thu, 29 Jun 2000 20:20:14 +0000 (20:20 -0000)]
Added support for being a login shell, so things like '-su' or '-sh' (stuff
where argv[0][0]=='-') will now always invoke the shell. Now you can use
BusyBox as a login shell.
-Erik
Mark Whitley [Wed, 28 Jun 2000 22:59:30 +0000 (22:59 -0000)]
Fixed comment.
Mark Whitley [Wed, 28 Jun 2000 22:55:59 +0000 (22:55 -0000)]
Added support for reading from stdin with '-' as file name arg.
Mark Whitley [Wed, 28 Jun 2000 22:15:26 +0000 (22:15 -0000)]
Yanked out the cstring_alloc() and cstring_lineFromFile() functions from
utility.c and replaced them with get_line_from_file() from the new grep.c.
Also changed declaration in internal.h and replaced instances of
cstring_lineFromFile() in dc.c and sort.c with get_line_from_file(). Tested
them and they worked fine.
Mark Whitley [Wed, 28 Jun 2000 22:00:26 +0000 (22:00 -0000)]
Brand, spankin', new grep that uses libc regex routines instead of the
hand-rolled ones. Sed still needs to be replaced and then the regexp stuff can
be axed.
Mark Whitley [Wed, 28 Jun 2000 21:59:31 +0000 (21:59 -0000)]
Moved some function decls, a struct, and a #define from regexp.h into here.
Also static-ified said functions so they do not have namespace conflicts with
the libc regex functions.
Mark Whitley [Wed, 28 Jun 2000 21:58:31 +0000 (21:58 -0000)]
Removed some function decls (regex, regcomp, etc.) and put them in regexp.c
Eric Andersen [Wed, 28 Jun 2000 20:11:28 +0000 (20:11 -0000)]
Better cross libc support.
-Erik
Eric Andersen [Wed, 28 Jun 2000 17:07:19 +0000 (17:07 -0000)]
Forgot -- targeted the wrong release.
-Erik
Eric Andersen [Wed, 28 Jun 2000 16:56:25 +0000 (16:56 -0000)]
* Fixed a _horrible_ bug where 'tar -tvf' could unlink
local files!!! Fix thanks to Marius Groeger <mgroeger@sysgo.de>
* Added support for "sh -c command args...", also thanks to
Marius Groeger <mgroeger@sysgo.de>
-Erik
Eric Andersen [Wed, 28 Jun 2000 02:25:18 +0000 (02:25 -0000)]
Updates for the .deb
-Erik
John Beppu [Wed, 28 Jun 2000 00:55:31 +0000 (00:55 -0000)]
= minor formatting issues
John Beppu [Wed, 28 Jun 2000 00:41:26 +0000 (00:41 -0000)]
+ busybox --install [-s]
is functional (but disabled in busybox.def.h by default)
Someone email the guy who originally wanted this.
Eric Andersen [Tue, 27 Jun 2000 18:12:19 +0000 (18:12 -0000)]
Remove stuff now moved into the bug tracking system.
-Erik
John Beppu [Tue, 27 Jun 2000 07:54:33 +0000 (07:54 -0000)]
+ s/int install_links/static int install_links/
? Did you want "busybox --install" or "busybox install" ?
The TODO and mailing-list conflict on this issue.
I would recommend against "busybox install", because
people might confuse it w/ /usr/bin/install that does
something different.
Eric Andersen [Tue, 27 Jun 2000 06:22:09 +0000 (06:22 -0000)]
This kernel patch is no longer needed, with the change I made to init
and free...
-Erik
John Beppu [Tue, 27 Jun 2000 04:56:45 +0000 (04:56 -0000)]
+ littering my code w/ comments about what troubles me.
John Beppu [Tue, 27 Jun 2000 04:50:02 +0000 (04:50 -0000)]
+ busybox --install [-s]
is almost good to go. Here is my work in progress.
+ Look at the FIXME in busybox.c
to see what I need. The actual (sym)linking is disabled
for now, although I'm sure it works ;)
(Am I going to have to dig through /proc to find
out where the currently running busybox is sitting?)
+ I put an #ifdef BB_FEATURE_INSTALLER around
the new bits of code in busybox.c, and I have a
#define BB_FEATURE_INSTALLER in busybox.def.h
towards the bottom.
Mark Whitley [Mon, 26 Jun 2000 13:31:53 +0000 (13:31 -0000)]
Just converted busybox.pod to busybox.sgml using the Pod::DocBook Perl module.
The resulting file needs some massaging and once it gets presentable, I'll
edit the Makefile to use the SGML file as the "authoritative" file; the plan
here is to generate other file formats from the SGML.
Eric Andersen [Mon, 26 Jun 2000 12:14:30 +0000 (12:14 -0000)]
Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport.
Fix thanks to Arne Bernin <arne@matrix.loopback.org>
-Erik
Eric Andersen [Mon, 26 Jun 2000 11:16:22 +0000 (11:16 -0000)]
* Fixed insmod module option parsing for options lacking an '='.
Fix thanks to Marc Nijdam <marc_nijdam@hp.com>
-Erik
Eric Andersen [Mon, 26 Jun 2000 10:54:06 +0000 (10:54 -0000)]
readlink(2) does not NULL terminate the buffer it reads in, but tar expected it
to do so. This caused symlinks stored in tarballs to likely have trailing
crap in the stored symlink named. Oops.
-Erik
Eric Andersen [Mon, 26 Jun 2000 10:45:52 +0000 (10:45 -0000)]
Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries in
/proc/mounts, added a hack to make sysinfo work with both old and new kernels).
-Erik
Eric Andersen [Thu, 22 Jun 2000 18:19:31 +0000 (18:19 -0000)]
Better error checking in insmod. Remove left over %m's
-Erik
Eric Andersen [Thu, 22 Jun 2000 01:27:11 +0000 (01:27 -0000)]
Minor web page update.
-Erik
Eric Andersen [Thu, 22 Jun 2000 00:23:09 +0000 (00:23 -0000)]
Fix version #
-Erik
Eric Andersen [Thu, 22 Jun 2000 00:19:33 +0000 (00:19 -0000)]
More doc updates
-Erik
Mark Whitley [Thu, 22 Jun 2000 00:16:37 +0000 (00:16 -0000)]
Merged two TODO items into one
Eric Andersen [Thu, 22 Jun 2000 00:04:12 +0000 (00:04 -0000)]
Update the list.
-Erik
Eric Andersen [Thu, 22 Jun 2000 00:02:56 +0000 (00:02 -0000)]
Pavel Roskin <proski@gnu.org> just found a nasty memory
corruption bug. Disabling 'ln -n' till it is fixed.
-Erik
Eric Andersen [Wed, 21 Jun 2000 22:53:24 +0000 (22:53 -0000)]
Document 'ln --'
-Erik
Mark Whitley [Wed, 21 Jun 2000 22:53:16 +0000 (22:53 -0000)]
Cleaned up some #ifdef spiderwebs.
Eric Andersen [Wed, 21 Jun 2000 22:50:59 +0000 (22:50 -0000)]
Bump version number to 0.45
-Erik
Mark Whitley [Wed, 21 Jun 2000 22:46:32 +0000 (22:46 -0000)]
Added an implicit rule for #defining BB_FEATURE_USE_TERMIOS if
BB_FEATURE_AUTOWIDTH is #defined.
Eric Andersen [Wed, 21 Jun 2000 22:44:33 +0000 (22:44 -0000)]
More doc updates.
-Erik
Eric Andersen [Wed, 21 Jun 2000 22:43:07 +0000 (22:43 -0000)]
Web site updates.
-Erik
Eric Andersen [Wed, 21 Jun 2000 22:06:56 +0000 (22:06 -0000)]
Add in my little patch for 2.4.x to make sysinfo binary compatable (again)
-Erik
Pavel Roskin [Wed, 21 Jun 2000 21:43:24 +0000 (21:43 -0000)]
Documented "which"
Pavel Roskin [Wed, 21 Jun 2000 21:38:00 +0000 (21:38 -0000)]
Removed trailing spaces
Eric Andersen [Wed, 21 Jun 2000 21:04:01 +0000 (21:04 -0000)]
Add in telnet docs.
-Erik
Eric Andersen [Wed, 21 Jun 2000 21:03:13 +0000 (21:03 -0000)]
Add insmod docs
-Erik
Pavel Roskin [Wed, 21 Jun 2000 20:25:07 +0000 (20:25 -0000)]
Updated the list of supported commands
Pavel Roskin [Wed, 21 Jun 2000 20:17:29 +0000 (20:17 -0000)]
Removed all vestiges of "math"
John Beppu [Wed, 21 Jun 2000 19:06:16 +0000 (19:06 -0000)]
+ added dc (aka the function formerly known as math)
+ did all the housekeeping that this change requires.
Eric Andersen [Wed, 21 Jun 2000 18:37:36 +0000 (18:37 -0000)]
'tar --help' wasn't working. Fixed it.
-Erik
John Beppu [Wed, 21 Jun 2000 18:00:46 +0000 (18:00 -0000)]
+ made it so that you can use the mnemonics
(add, sub, mul, div) in lieu of (+, -, *, /)
Eric Andersen [Tue, 20 Jun 2000 21:04:03 +0000 (21:04 -0000)]
Special case the memcopy stuff so it isn't enabled for uclibc
-Erik
Eric Andersen [Tue, 20 Jun 2000 21:03:24 +0000 (21:03 -0000)]
Some makefile fixes to allow compiling with ucLibc (stuff turned off
by default of course).
-Erik
Pavel Roskin [Tue, 20 Jun 2000 00:11:07 +0000 (00:11 -0000)]
Updated e-mail address of Pavel Roskin to proski@gnu.org
Eric Andersen [Mon, 19 Jun 2000 20:19:04 +0000 (20:19 -0000)]
Mention libc support, Pavel's rm fix is already merged.
-Erik
Eric Andersen [Mon, 19 Jun 2000 20:03:48 +0000 (20:03 -0000)]
Finish off the libc5 porting effort. Everything now works with libc5
except for md5sum, which uses the GNU libc addition getline().
-Erik
Eric Andersen [Mon, 19 Jun 2000 19:53:30 +0000 (19:53 -0000)]
Made insmod work with both libc5 and libc6.
-Erik
Eric Andersen [Mon, 19 Jun 2000 18:51:53 +0000 (18:51 -0000)]
Made ping work with libc5 and libc6.
-Erik
Eric Andersen [Mon, 19 Jun 2000 18:38:51 +0000 (18:38 -0000)]
Make umount work and compile cleanly under libc5 and libc6.
-Erik
Eric Andersen [Mon, 19 Jun 2000 18:25:49 +0000 (18:25 -0000)]
Make swaponoff compile cleanly under both libc5 and libc6.
-Erik
Eric Andersen [Mon, 19 Jun 2000 18:14:20 +0000 (18:14 -0000)]
Make syslogd.c, init.c, and update.c compile error/warning free under both libc5 and libc6.
-Erik
Eric Andersen [Mon, 19 Jun 2000 17:52:17 +0000 (17:52 -0000)]
printf now compiles cleanly under both libc5 and libc6.
-Erik
Eric Andersen [Mon, 19 Jun 2000 17:48:02 +0000 (17:48 -0000)]
Updated to compile and work with libc5.
-Erik
Eric Andersen [Mon, 19 Jun 2000 17:30:07 +0000 (17:30 -0000)]
Update internal.h to conditionally include asm/string.h
-Erik
Eric Andersen [Mon, 19 Jun 2000 17:25:40 +0000 (17:25 -0000)]
Updates to a number of apps to remove warnings/compile errors under libc5.
Tested under both libc5 and libc6 and all seems well with these fixes.
-Erik
Mark Whitley [Mon, 19 Jun 2000 17:03:32 +0000 (17:03 -0000)]
Added a note to the "maybe by 0.44" list to prune sfdisk and graft fdisk.
Eric Andersen [Mon, 19 Jun 2000 09:29:32 +0000 (09:29 -0000)]
Fix a stupid bug, where I cleaned things as the last makefile target. duh.
-Erik
Eric Andersen [Mon, 19 Jun 2000 09:21:34 +0000 (09:21 -0000)]
Added support for building debian packages.
-Erik
Pavel Roskin [Sun, 18 Jun 2000 00:02:24 +0000 (00:02 -0000)]
Check for 3 and more arguments was incorrect
It is only allowed for linking to a directory
But linking to a directory still fails and may be removed
Eric Andersen [Fri, 16 Jun 2000 19:57:44 +0000 (19:57 -0000)]
Fix some spelling errors in the source as well.
-Erik
Eric Andersen [Fri, 16 Jun 2000 19:56:44 +0000 (19:56 -0000)]
Ran it through a spell checker and fixed the spelling errors.
-Erik
Eric Andersen [Fri, 16 Jun 2000 04:56:40 +0000 (04:56 -0000)]
Update to ar.c from Glenn McGrath. His comments follow:
------------------------------
the attached diff applies to the ar.c i originally submitted
Changes
Preserve dates now works.
Extracted files are set to the uid, gid and mode specified in the
archive.
Checks for valid end of header marker.
Correctly unpacks newer debian files. (has a '\n' character between
entries)
Added more comments.
Cleaned up code.
Added a last modified date to help keep track of versions.
TODO
Common functionality in ar.c are in tar.c should be merged, in
particular getOctal and extractSubFile.
Should all functions that are used by multiple file go in utilities.c ?
Mark Whitley [Fri, 16 Jun 2000 00:26:51 +0000 (00:26 -0000)]
Added some comments and changed a variable name to be more meaningful. No
fixes yet for the space bug, but should be coming soon.
Pavel Roskin [Thu, 15 Jun 2000 18:04:40 +0000 (18:04 -0000)]
ln: fixed command line parser. Added support for "--"
Eric Andersen [Wed, 14 Jun 2000 22:16:59 +0000 (22:16 -0000)]
Remove trailing space char.
-Erik
Eric Andersen [Wed, 14 Jun 2000 20:42:57 +0000 (20:42 -0000)]
Integrate Tomi Ollila's telnet. Costs 3k. :)
-Erik
Pavel Roskin [Wed, 14 Jun 2000 17:39:41 +0000 (17:39 -0000)]
Fixed "rm foo" that had been broken while implementing "rm -- foo"
Mark Whitley [Wed, 14 Jun 2000 17:35:54 +0000 (17:35 -0000)]
Modified status of some TODO items, added some others in preparation for the
0.44 release.
John Beppu [Wed, 14 Jun 2000 09:11:05 +0000 (09:11 -0000)]
+ minor typo fix
s/>/>/
John Beppu [Wed, 14 Jun 2000 00:19:14 +0000 (00:19 -0000)]
+ removed some cruft left over from when lines could be too long.
Eric Andersen [Tue, 13 Jun 2000 06:57:56 +0000 (06:57 -0000)]
Urgh. revert Makefile. again. Forgot to do the 'cvs update -d now' trick
on my home box.
Eric Andersen [Tue, 13 Jun 2000 06:54:53 +0000 (06:54 -0000)]
Add new apps md5sum uudecode uuencode, fix some minor formatting things.
-Erik
Eric Andersen [Tue, 13 Jun 2000 06:24:53 +0000 (06:24 -0000)]
Fix a bug pointed out by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
where you used to see:
./grep -q -i B some_file
B: No such file or directory
This is now fixed.
-Erik
Eric Andersen [Tue, 13 Jun 2000 00:49:41 +0000 (00:49 -0000)]
Give beppu credit for fixing grep "Line too long" bug.
-Erik
John Beppu [Mon, 12 Jun 2000 23:39:04 +0000 (23:39 -0000)]
+ utility.c
CSTRING_BUFFER_LENGTH = 1024 /* so it recurses less often */
+ grep.c
uses cstring_lineFromFile(), and doesn't ever say
Line is too long, anymore
Eric Andersen [Mon, 12 Jun 2000 23:11:16 +0000 (23:11 -0000)]
Added a slightly modified version of Ron Alder's insmod patch.
Very cool stuff.
-Erik
John Beppu [Mon, 12 Jun 2000 23:04:55 +0000 (23:04 -0000)]
+ updated docs to reflect math's filter capabilities.
John Beppu [Mon, 12 Jun 2000 22:59:12 +0000 (22:59 -0000)]
+ works as a filter, now!
- I have a feeling I could have used strtok, but the
2 functions I added are really small, so it shouldn't
be a big deal. (They were just laying around, and I
wanted to use them, again).
Eric Andersen [Fri, 9 Jun 2000 20:51:50 +0000 (20:51 -0000)]
* Fixed a small bug that could cause tar to emit warning messages
and not extract the first file in a directory in some cases
of nested directories. Thanks to Kevin Traas <kevin@netmaster.com>
for helping track this one down.
-Erik
Pavel Roskin [Thu, 8 Jun 2000 18:06:37 +0000 (18:06 -0000)]
Fixed parsing of arguments for cp
Eric Andersen [Thu, 8 Jun 2000 15:25:39 +0000 (15:25 -0000)]
Formatting change.
-Erik
Pavel Roskin [Wed, 7 Jun 2000 21:19:49 +0000 (21:19 -0000)]
My pod2man (perl-5.00503) complains if there is no newline after "Options:"
Pavel Roskin [Wed, 7 Jun 2000 21:08:25 +0000 (21:08 -0000)]
Syslogd will not go to background if "-n" is given. Better help
and argument checking
Pavel Roskin [Wed, 7 Jun 2000 20:38:15 +0000 (20:38 -0000)]
Implemented "ping -s", fixed error messages and argument parsing