aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Ahem. ("I'm just tweaking a documentation string, I don't need to compilelandley2004-05-261-1/+1
| | | | | | | | | | | test it before checking in..." New entry for famous last words list.) Add the missing backslash at the end of the new sed doc string line. (This one actually compiled with "show verbose applet usage messages"...) git-svn-id: svn://busybox.net/trunk/busybox@8883 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update sed help. (Add -r option to long help, add -i option to brief help,landley2004-05-261-3/+4
| | | | | | | and alphabetizie the option list.) git-svn-id: svn://busybox.net/trunk/busybox@8882 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Kevin P. Fleming writes:andersen2004-05-261-0/+2
| | | | | | | | | | | | | | | | | | Yes, I know busybox is in feature freeze. If this two-liner is too much that's fine, but it's handy. This patch allows busybox mount to support "-o move" just like it supports "-o bind", which is the equivalent of util-linux "mount --move". Usage is: mount -o move /mnt/point/1 /mnt/point/2 where /mnt/point/1 is an already mounted filesystem; it will be moved to /mnt/point/2. git-svn-id: svn://busybox.net/trunk/busybox@8881 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update U.S. Robotics and Actiontec entriesandersen2004-05-262-5/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8880 69ca8d6d-28ef-0310-b511-8ec308f3f277
* If read were to return with an error, bad things would happen. Fix it.mjn32004-05-261-2/+6
| | | | | | | Also, make sure read errors are reflected in the applet exit code. git-svn-id: svn://busybox.net/trunk/busybox@8879 69ca8d6d-28ef-0310-b511-8ec308f3f277
* oopsandersen2004-05-261-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8878 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Per suggestion from Bastian Blank, be less evil when we force fdisk toandersen2004-05-262-9/+11
| | | | | | | | transparently remap 32-bit interfaces to actually use 64 bit interfaces. -Erik git-svn-id: svn://busybox.net/trunk/busybox@8877 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use tab not spaceandersen2004-05-261-20/+20
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8876 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make the grep option values a bit less horribleandersen2004-05-261-18/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8875 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rick Richardson writes:andersen2004-05-261-8/+16
| | | | | | | | | | | | | | Here is a patch that adds egrep -L support (the opposite of egrep -l). I realize this is probably too late for 1.0. But I offer it for your future consideration. egrep -L is used in some networking startup scripts I inherited. -Rick git-svn-id: svn://busybox.net/trunk/busybox@8874 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yoshinori Sato:andersen2004-05-261-3/+47
| | | | | | | | | | | This patch is uClinux-2.4.x for H8/300 module support. please apply. -- Yoshinori Sato git-svn-id: svn://busybox.net/trunk/busybox@8873 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As discussed, drop minit, which was not being supported in busybox.andersen2004-05-267-1055/+0
| | | | | | | | People wishing to use minit can obtain it and obtain support from http://www.fefe.de/minit/ git-svn-id: svn://busybox.net/trunk/busybox@8872 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use STDIN_FILENO rather than '0'andersen2004-05-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8871 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rob Landley writes:andersen2004-05-261-4/+7
| | | | | | | | | | | | | | add sed -r support. I bumped into a couple of things that want to use extended regular expressions in sed, and it really isn't that hard to add. Can't say I've extensively tested it, but it's small and isn't going to break anything that doesn't use it, so... Rob git-svn-id: svn://busybox.net/trunk/busybox@8870 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rob Landley writes:andersen2004-05-261-1/+1
| | | | | | | | | | | Run this test, against both busybox and a non-busybox version of "tee". while true; do i=$[$i+1]; echo "hello $i"; sleep 1; done | ./busybox tee Now run the busybox one again with the following small patch applied: git-svn-id: svn://busybox.net/trunk/busybox@8869 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to correct 'grep -e pattern1 -e pattern2' logicandersen2004-05-261-5/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8868 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not prompt about FDISK large disk support when LFS is enabled.andersen2004-05-251-13/+27
| | | | | | | | | Resolve a dependancy problem with the various malloc debug libs and make them mutually exclusive. -Erik git-svn-id: svn://busybox.net/trunk/busybox@8867 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not select LFSandersen2004-05-191-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Erik,andersen2004-05-192-8/+18
| | | | | | | | | | | | | | | | | | | | | >http://busybox.net/cgi-bin/cvsweb/busybox/util-linux/fdisk.c?r1=1.22&r2=1.23&diff_format=u Its hack for "force" ;-) If to return the previous version of a Config.in http://busybox.net/cgi-bin/cvsweb/busybox/util-linux/Config.in?r1=1.12&r2=1.13 and to apply last patch, then I shall calm down. ;-) (OOPS, last patch have autocorrected from my editor begins spaces to tabs and removed spaces from empty lines too). --w vodz git-svn-id: svn://busybox.net/trunk/busybox@8863 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use busybox sysinfo structruss2004-05-192-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8860 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make vodz happy and make fdisk always use large file support ifandersen2004-05-191-0/+8
| | | | | | | | possible, even if LFS is not enabled for the rest of busybox. -Erik git-svn-id: svn://busybox.net/trunk/busybox@8859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a compile problemandersen2004-05-191-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8858 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix timewarp in client (server fix later)russ2004-05-194-6/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8857 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove uneccessary check (already done in pidfile.c)russ2004-05-191-6/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix memory leak caused by switch to vforkruss2004-05-191-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8853 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use int instead of char for return type, in theory avoiding a castbug12004-05-161-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8845 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for debian bug #248106, should use int for returned getopt value.bug12004-05-101-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8819 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Steve Grubb writes:andersen2004-05-051-1/+3
| | | | | | | | | | | | | | Hi, I just re-reviewed the patch I just sent...and it needed to be BUFSIZ-3 in dos2unix.c . tempFn is BUFSIZ so the last addressable spot it BUFSIZ-1. The loop increments by 2. That's why it should be BUFSIZ-3. Best Regards, Steve Grubb git-svn-id: svn://busybox.net/trunk/busybox@8805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Steve Grubb writes:andersen2004-05-052-3/+3
| | | | | | | | | | | | | | Hello, I found and patched 2 more bugs. The first is a misplaced semi-colon. The second one is a buffer overflow. I doubt the buffer overflow is triggered in real life. But you never know what those wily hackers are up to. Thanks, Steve Grubb git-svn-id: svn://busybox.net/trunk/busybox@8804 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Steve Grubb writes:andersen2004-05-051-2/+4
| | | | | | | | | | | | | | | | | | Hello, Last November a bug was found in iproute. CAN-2003-0856 has more information. Basically, netlink packets can come from any user. If a program performs action based on netlink packets, they must be examined to make sure they came from the place they are expected (the kernel). Attached is a patch against pre8. Please apply this before releasing 1.00 final. All users of busy box may be vulnerable to local attacks without it. Best Regards, Steve Grubb git-svn-id: svn://busybox.net/trunk/busybox@8803 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix size command, safe_strtoul gives and error if the \r is left in, thebug12004-05-041-1/+6
| | | | | | | | RFC spec says the \r should be there. This fix is the same as a recent wget fix git-svn-id: svn://busybox.net/trunk/busybox@8799 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add part of a patch from Vernon Sauder that i missed a while backbug12004-05-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8797 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update dpkg-deb usage to match current practicesbug12004-05-021-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8796 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch makes the id command SuS3 compliant and provides a groupsbug12004-05-011-0/+314
| | | | | | | | | | | | applet via an alias to id. - Add G option - Pedantic option checking - If effective group and user differs from the real one show both. id. - Alias id -Gn to groups applet git-svn-id: svn://busybox.net/trunk/busybox@8795 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not use getpass(3)andersen2004-05-017-38/+98
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Re-add the TODO list, mention trbug12004-05-011-0/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8792 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bugfixesbug12004-04-301-2/+2
| | | | | | | | | | | | | | 1) a non NULL terminated buffer that can mess up output, spotted by Ian Latter 2) in miscutils/strings.c: get rid of useless pointer dereference in third part of for(;;), spotted by Larry Doolittle 3) bug when reading from a pipe and being invoked as strings "cat Readme | strings" is broken "cat Readme | busybox strings" works spotted by Ian Latter and fixed by Tito. git-svn-id: svn://busybox.net/trunk/busybox@8791 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix symlink handling and small memory leakbug12004-04-291-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8785 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Thomas Koeller writes:andersen2004-04-262-2/+2
| | | | | | | | | | | | | | | | | Hi, the following output is from BusyBox 1.0.0-pre10: ~ # ip link help ip: Command "help" is unknown, try "ip link help". tk This patch fixes it by removing the advertisements for the "ip blah help" stuff that is not implemented. git-svn-id: svn://busybox.net/trunk/busybox@8784 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sync my tasks with AUTHORS filebug12004-04-251-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8783 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update my email address, document some of my tasks in the AUTHORS filebug12004-04-2519-25/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8782 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This sed patch can only be described as "duh". Stat the source file, chmodandersen2004-04-211-1/+1
| | | | | | | | | | | | | | the _destination_ file. (Ah hah! That works _much_ better...) I implemented the behavior, I just forgot to test this corner of it. My fault, sorry... No, gnu sed -i doesn't preverve ownership information. I checked. Permissions, yes, ownership info, no. Rob git-svn-id: svn://busybox.net/trunk/busybox@8776 69ca8d6d-28ef-0310-b511-8ec308f3f277
* So I'm building a linux from scratch system, using a working script to do thisandersen2004-04-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that the _only_ change to is that gnu sed has been replaced with busybox sed. And ncurses' install phase hangs. I trace it down, and it's trying to run gawk. (Insert obligatory doubletake, but this is FSF code we're talking about, so...) It turns out gawk shells out to sed, ala "sed -f /tmp/blah file.h". The /tmp/blah file is basically empty (it contains one character, a newline). So basically, gawk is using sed as "cat". With gnu sed, it works like cat, anyway. With busybox sed, it tests if its command list is empty after parsing the command line, and if the list is empty it takes the first file argument as a sed command string, and if that leaves the file list empty it tries to read the data to operate on from stdin. (Hence the hang, since nothing's coming in on stdin...) It _should_ be testing whether there were any instances of -f or -e, not whether it actually got any commands. Using sed as cat may be kind of stupid, but it's valid and gawk relies on this behavior. Here's a patch to fix it, turning a couple of ints into chars in hopes of saving a bit of the space this adds. Comments? Rob git-svn-id: svn://busybox.net/trunk/busybox@8775 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont try and preserve hard links to directories.bug12004-04-191-1/+3
| | | | | | | | | | The linux kernel doesnt allow hard links to directories, SUS says its implementation specific. cramfs gives empty directories and 0 length files the same node it makies it difficult to distinguish from hard links. git-svn-id: svn://busybox.net/trunk/busybox@8767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add two fundamental tests for copying directoriesbug12004-04-182-0/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8766 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Thats odd. I guess this was cut-n-paste error, but vodzandersen2004-04-161-1/+1
| | | | | | | email address was wrong! git-svn-id: svn://busybox.net/trunk/busybox@8765 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update Acronis and Belkinandersen2004-04-152-6/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Steven Scholz writes:andersen2004-04-141-0/+2
| | | | | | | | | | | | | | | Hi there, the "-h" option of httpd is not described in the usage text. Please find the attached patch. Thanks. Steven git-svn-id: svn://busybox.net/trunk/busybox@8761 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove a warningandersen2004-04-141-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8760 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry Doolittle writes:andersen2004-04-1470-170/+170
| | | | | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry git-svn-id: svn://busybox.net/trunk/busybox@8759 69ca8d6d-28ef-0310-b511-8ec308f3f277