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
Eric Andersen [Wed, 7 Jun 2000 17:33:30 +0000 (17:33 -0000)]
Debug should be off in the Makefile. I will now do (per Pavel's
suggestion) a "cvs up -D now Makefile" so I stop updating the
Makefile by accident.
-Erik
Eric Andersen [Wed, 7 Jun 2000 17:28:53 +0000 (17:28 -0000)]
* Fixed 'swapon -a' and 'swapoff -a', which were broken.
* Fixed 'mount -a' so it works as expected.
* Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE)
-Erik
Eric Andersen [Tue, 6 Jun 2000 22:17:43 +0000 (22:17 -0000)]
Fix 'date -u'
-Erik
Eric Andersen [Tue, 6 Jun 2000 22:13:39 +0000 (22:13 -0000)]
Oops. Remove the debugging noise.
-Erik
Eric Andersen [Tue, 6 Jun 2000 22:12:35 +0000 (22:12 -0000)]
mkfs.minix rev 1.7 completely broke the option parser. This fixes it.
-Erik
Mark Whitley [Tue, 6 Jun 2000 18:12:47 +0000 (18:12 -0000)]
Removed chmod,chown,chgrp from the "Bugs that need fixing" list.
Mark Whitley [Tue, 6 Jun 2000 18:11:46 +0000 (18:11 -0000)]
Fixed segfaults for "chown -R" and "chgrp -R". Also added a message for "too
few arguments".
Pavel Roskin [Tue, 6 Jun 2000 18:10:17 +0000 (18:10 -0000)]
Fixed exit status for killall
Mark Whitley [Tue, 6 Jun 2000 18:05:47 +0000 (18:05 -0000)]
Added considering making a unified option parser someday.
Mark Whitley [Tue, 6 Jun 2000 17:40:32 +0000 (17:40 -0000)]
Fixed segfault when you type "chmod -R". "chown -R" and "chgrp -R" are still
having problems...
Pavel Roskin [Tue, 6 Jun 2000 17:03:55 +0000 (17:03 -0000)]
"mount" now reports errors from nfsmount() and assumes NFS mount
if ':' is present in the device name - Pavel Roskin
Mark Whitley [Tue, 6 Jun 2000 17:03:54 +0000 (17:03 -0000)]
Updated TODO item re: 'cp -a /tmp/*' not producing the right error message
(it's been fixed).
Eric Andersen [Tue, 6 Jun 2000 16:15:23 +0000 (16:15 -0000)]
Fixed a bunch of stuff:
* Fixed segfault caused by "touch -c"
* Fixed segfault caused by "rm -f"
* Fixed segfault caused by "ln -s -s" and similar abuses.
* Fixed segfault caused by "cp -a -a" and similar abuses.
* Implemented "rm -- <foo>"
updated docs accordingly.
-Erik
Pavel Roskin [Mon, 5 Jun 2000 23:41:27 +0000 (23:41 -0000)]
"which" rewritten to use stat(). Fixes to improve its compatability
with traditional implementations
Pavel Roskin [Mon, 5 Jun 2000 20:19:47 +0000 (20:19 -0000)]
Fix more spelling errors.
Eric Andersen [Mon, 5 Jun 2000 17:23:06 +0000 (17:23 -0000)]
Fix spelling error
-Erik
Eric Andersen [Mon, 5 Jun 2000 17:22:37 +0000 (17:22 -0000)]
Fix spelling errors.
-Erik
Eric Andersen [Mon, 5 Jun 2000 05:33:00 +0000 (05:33 -0000)]
More TODO items. Fix a dependancy bug on busybox.def.h
-Erik
Eric Andersen [Sun, 4 Jun 2000 05:21:49 +0000 (05:21 -0000)]
"nc" exits silently on errors. This patch makes it print something before
exit().
Note that calling perror() after gethostbyname() will most likely return
"No such file or directory" which is quite confusing, so I decided to use
fatalError instead.
Regards,
Pavel Roskin
Eric Andersen [Sun, 4 Jun 2000 05:17:35 +0000 (05:17 -0000)]
Don't allow mkfifo to create files such as "--help"
This patch checks if the name of FIFO to be created begins with "-" and
calls usage() if it does.
Regards,
Pavel Roskin
Eric Andersen [Sun, 4 Jun 2000 05:08:29 +0000 (05:08 -0000)]
This patch
- eliminates the need to have a buffer and strcpy to it
- makes freeramdisk complain if it's given more than one argument
Regards,
Pavel Roskin
Eric Andersen [Sat, 3 Jun 2000 05:22:31 +0000 (05:22 -0000)]
Turn off debugging in the Makefile.
-Erik
Eric Andersen [Sat, 3 Jun 2000 00:27:00 +0000 (00:27 -0000)]
Note that I broke mkfs_minix's parser in rev 1.7.
-Erik
Eric Andersen [Fri, 2 Jun 2000 23:26:44 +0000 (23:26 -0000)]
Fix touch so it behaves itself (it could segfault in some cases).
Fix uname help info formatting.
-Erik
Eric Andersen [Fri, 2 Jun 2000 17:56:45 +0000 (17:56 -0000)]
This is a fix for chroot
- Fixed error message when the command is not specified (possibly crash on
libc5 systems!)
- Debugging output removed
- Using fatalError() whenever appropriate
Regards,
Pavel Roskin
Eric Andersen [Fri, 2 Jun 2000 17:51:39 +0000 (17:51 -0000)]
Pavel fixed a segfault in yes.
-Erik
Eric Andersen [Fri, 2 Jun 2000 17:38:18 +0000 (17:38 -0000)]
Fix /etc/passwd misspelling.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:35:22 +0000 (03:35 -0000)]
Some Makefile fixes for the docs.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:25:00 +0000 (03:25 -0000)]
Note the addition of ar.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:23:28 +0000 (03:23 -0000)]
oops. Don't commit autogenerated stuff.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:21:42 +0000 (03:21 -0000)]
A number of additional fixed from Pavel Roskin, note some more bugs in the
TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox,
which is now included.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:21:41 +0000 (03:21 -0000)]
Acknowledge contributions of Pavel Roskin, and fix doc building
so the html goes into the website directory.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:21:36 +0000 (03:21 -0000)]
Acknowledge contributions of Pavel Roskin, and fix doc building
so the html goes into the website directory.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:21:32 +0000 (03:21 -0000)]
More stuff to do...
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:21:32 +0000 (03:21 -0000)]
Acknowledge contributions of Pavel Roskin, and fix doc building
so the html goes into the website directory.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:20:22 +0000 (03:20 -0000)]
Point to the local BusyBox.html docs.
-Erik
Eric Andersen [Fri, 2 Jun 2000 02:33:24 +0000 (02:33 -0000)]
Forgot to checkin the busybox website graphics. Here they are...
-Erik
Eric Andersen [Wed, 31 May 2000 20:08:30 +0000 (20:08 -0000)]
More stuff.
-Erik
Eric Andersen [Wed, 31 May 2000 20:04:38 +0000 (20:04 -0000)]
Minor doc fix. Added several bugs to the todo list. Fixed the way init
scans /etc/inittab entries so that commands can contain ":"s.
-Erik
Eric Andersen [Tue, 30 May 2000 19:11:50 +0000 (19:11 -0000)]
Remove the now-fixed tar segfault from the TODO list.
-Erik
Eric Andersen [Tue, 30 May 2000 19:05:57 +0000 (19:05 -0000)]
Fixed tar option parsing segfault, and make "tar xv" and "tar -xv"
both work (i.e. it works with or w/o the "-").
-Erik
Eric Andersen [Thu, 25 May 2000 00:18:59 +0000 (00:18 -0000)]
Minor update to web page.
-Erik
Erik Andersen [Sat, 20 May 2000 00:40:08 +0000 (00:40 -0000)]
First pass at fixing tar segfault, and more portability updates.
-Erik
Erik Andersen [Fri, 19 May 2000 05:35:19 +0000 (05:35 -0000)]
More libc portability updates, add in the website (which has not been
archived previously). Wrote 'which' during the meeting today.
-Erik
Erik Andersen [Wed, 17 May 2000 05:28:05 +0000 (05:28 -0000)]
Another bug to fix...
-Erik
Erik Andersen [Wed, 17 May 2000 05:24:24 +0000 (05:24 -0000)]
Some more portability updates
-Erik
Erik Andersen [Tue, 16 May 2000 20:07:38 +0000 (20:07 -0000)]
Some updates for better portability.
-Erik
Erik Andersen [Sat, 13 May 2000 19:08:58 +0000 (19:08 -0000)]
TODO update
-Erik
Erik Andersen [Sat, 13 May 2000 19:08:42 +0000 (19:08 -0000)]
Change a description
-Erik
Erik Andersen [Sat, 13 May 2000 19:00:07 +0000 (19:00 -0000)]
Minor fixes to being a standalone shell.
-Erik
Erik Andersen [Sat, 13 May 2000 06:33:19 +0000 (06:33 -0000)]
BusyBox shell (lash) can now be used as a standalone shell when
BB_FEATURE_STANDALONE_SHELL is defined (i.e. BusyBox can now completely replace
sash). Also fixed it so shell builtins now respect pipes and redirects.
-Erik
Erik Andersen [Sat, 13 May 2000 05:36:13 +0000 (05:36 -0000)]
More doc updates
-Erik
Erik Andersen [Sat, 13 May 2000 00:28:25 +0000 (00:28 -0000)]
So much for my evil optimization. Doesn't seem to work. Will test
more on it later.
-Erik
Erik Andersen [Fri, 12 May 2000 19:41:47 +0000 (19:41 -0000)]
Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
which lets you compile out most of the "--help" output, saving
up to 17k.
Renamed mnc to nc.
-Erik
Erik Andersen [Fri, 12 May 2000 19:38:40 +0000 (19:38 -0000)]
Some experimental stuff (work in progress). heheh.
-Erik
Erik Andersen [Wed, 10 May 2000 05:05:45 +0000 (05:05 -0000)]
* cp -fa now works as expected for symlinks (it didn't before)
* zcat works again (wasn't working since option parsing was broken)
* more doc updates/more support for BB_FEATURE_SIMPLE_HELP
-Erik
Erik Andersen [Wed, 10 May 2000 05:00:31 +0000 (05:00 -0000)]
Add suffix stripping support to basename
-Erik
Mark Whitley [Mon, 8 May 2000 23:25:59 +0000 (23:25 -0000)]
Added some bugs / TODOs.
Erik Andersen [Mon, 8 May 2000 17:56:25 +0000 (17:56 -0000)]
Fix umount dependency on find_real_root_device_name
-Erik
Erik Andersen [Fri, 5 May 2000 19:50:32 +0000 (19:50 -0000)]
Doc updates
-Erik
Erik Andersen [Fri, 5 May 2000 19:49:33 +0000 (19:49 -0000)]
Add support for "noatime" and "nodiratime" mount flags to mount.
Change umount "-f" to mean force, and actually use umount2.
Change umount "-l" to mean "Do not free loop device".
Updates docs accordingly.
-Erik
Erik Andersen [Wed, 3 May 2000 03:25:43 +0000 (03:25 -0000)]
Tell cvs to never checkin the resultant docs.
-Erik
Erik Andersen [Wed, 3 May 2000 03:24:21 +0000 (03:24 -0000)]
Sensibly put the docs under the docs directory.
-Erik
Erik Andersen [Wed, 3 May 2000 03:19:06 +0000 (03:19 -0000)]
Remove BB_FEATURE_REMOUNT (small, and should always be present)
and fix documentation dependancy checks, so it is only built when
it should be built.
-Erik
Erik Andersen [Tue, 2 May 2000 06:40:02 +0000 (06:40 -0000)]
More formatting bugs fixed
-Erik
Erik Andersen [Tue, 2 May 2000 05:32:07 +0000 (05:32 -0000)]
Bug fixes in the docs
-Erik
Erik Andersen [Tue, 2 May 2000 05:31:00 +0000 (05:31 -0000)]
Make the dependancies on the docs work properly
-Erik
Erik Andersen [Tue, 2 May 2000 00:07:56 +0000 (00:07 -0000)]
More stuff
-Erik
Erik Andersen [Mon, 1 May 2000 22:34:24 +0000 (22:34 -0000)]
Document tr change
-Erik
Erik Andersen [Mon, 1 May 2000 22:30:37 +0000 (22:30 -0000)]
Due to the license change I can now use Minix code. Minix tr
(adapted) now replaces BSD tr. Goes from 5k to 1k, and eliminates
bsearch from the list of libc symbols.
-Erik
Mark Whitley [Mon, 1 May 2000 22:08:54 +0000 (22:08 -0000)]
Minor source modifications to improve readability.
Erik Andersen [Mon, 1 May 2000 19:50:37 +0000 (19:50 -0000)]
Minor doc change
Erik Andersen [Mon, 1 May 2000 19:49:20 +0000 (19:49 -0000)]
My little adventure of analyzing lib usage has already rooted out
a big "P" Policy violator -- logname was using getlogin(3), which uses
utmp under the hood. We don't need no stinkin' utmp (and if we
are using tinylogin, it is unlikely to be useful trying).
-Erik
Erik Andersen [Mon, 1 May 2000 19:27:17 +0000 (19:27 -0000)]
Note how to find list of BusyBox libc dependancies, the ide being to
limit them much more.
-Erik