aboutsummaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove MAXNAMLEN and use BUFSIZ instead.andersen2000-07-061-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@743 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove misguided klude around for 2.4.x-test* brokenness. Al Viroandersen2000-07-051-3/+0
| | | | | | | | will be removing this stuff from /proc/mounts real soon now I am assured. -Erik git-svn-id: svn://busybox.net/trunk/busybox@740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * Fix to tr so it recognizes standard escape sequences. Merged commonandersen2000-07-052-33/+7
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@737 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added support for ignoring '-g' per GNU ls, thanks to David Vrabelandersen2000-07-031-0/+2
| | | | | | | | | <dvrabel@arcom.co.uk>. Seems some ftp clients expect the '-g' option to exist. -Erik git-svn-id: svn://busybox.net/trunk/busybox@728 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yanked out the cstring_alloc() and cstring_lineFromFile() functions frommarkw2000-06-281-2/+2
| | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@722 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport.andersen2000-06-261-7/+23
| | | | | | | | Fix thanks to Arne Bernin <arne@matrix.loopback.org> -Erik git-svn-id: svn://busybox.net/trunk/busybox@704 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries inandersen2000-06-261-0/+3
| | | | | | | | /proc/mounts, added a hack to make sysinfo work with both old and new kernels). -Erik git-svn-id: svn://busybox.net/trunk/busybox@701 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Pavel Roskin <proski@gnu.org> just found a nasty memoryandersen2000-06-221-1/+8
| | | | | | | | corruption bug. Disabling 'ln -n' till it is fixed. -Erik git-svn-id: svn://busybox.net/trunk/busybox@692 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Document 'ln --'andersen2000-06-211-1/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@691 69ca8d6d-28ef-0310-b511-8ec308f3f277
* printf now compiles cleanly under both libc5 and libc6.andersen2000-06-191-2/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@663 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to a number of apps to remove warnings/compile errors under libc5.andersen2000-06-1934-42/+40
| | | | | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@660 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Check for 3 and more arguments was incorrectproski2000-06-181-1/+1
| | | | | | | | It is only allowed for linking to a directory But linking to a directory still fails and may be removed git-svn-id: svn://busybox.net/trunk/busybox@656 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ln: fixed command line parser. Added support for "--"proski2000-06-151-8/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@651 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed "rm foo" that had been broken while implementing "rm -- foo"proski2000-06-141-6/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@647 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add new apps md5sum uudecode uuencode, fix some minor formatting things.andersen2000-06-134-1/+1607
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * Fixed 'swapon -a' and 'swapoff -a', which were broken.andersen2000-06-071-7/+44
| | | | | | | | | * Fixed 'mount -a' so it works as expected. * Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE) -Erik git-svn-id: svn://busybox.net/trunk/busybox@625 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix 'date -u'andersen2000-06-061-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a bunch of stuff:andersen2000-06-062-32/+42
| | | | | | | | | | | | | * 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 git-svn-id: svn://busybox.net/trunk/busybox@613 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't allow mkfifo to create files such as "--help"andersen2000-06-041-1/+1
| | | | | | | | | | | This patch checks if the name of FIFO to be created begins with "-" and calls usage() if it does. Regards, Pavel Roskin git-svn-id: svn://busybox.net/trunk/busybox@606 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix touch so it behaves itself (it could segfault in some cases).andersen2000-06-022-27/+29
| | | | | | | | Fix uname help info formatting. -Erik git-svn-id: svn://busybox.net/trunk/busybox@602 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is a fix for chrootandersen2000-06-021-8/+7
| | | | | | | | | | | | | - Fixed error message when the command is not specified (possibly crash on libc5 systems!) - Debugging output removed - Using fatalError() whenever appropriate Regards, Pavel Roskin git-svn-id: svn://busybox.net/trunk/busybox@601 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Pavel fixed a segfault in yes.andersen2000-06-021-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@600 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A number of additional fixed from Pavel Roskin, note some more bugs in theandersen2000-06-023-8/+8
| | | | | | | | | TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox, which is now included. -Erik git-svn-id: svn://busybox.net/trunk/busybox@594 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More libc portability updates, add in the website (which has not beenerik2000-05-193-19/+27
| | | | | | | | archived previously). Wrote 'which' during the meeting today. -Erik git-svn-id: svn://busybox.net/trunk/busybox@558 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some more portability updateserik2000-05-171-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@556 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some updates for better portability.erik2000-05-161-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@551 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More doc updateserik2000-05-131-0/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@535 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPerik2000-05-1227-72/+528
| | | | | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@532 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * cp -fa now works as expected for symlinks (it didn't before)erik2000-05-105-18/+33
| | | | | | | | | * zcat works again (wasn't working since option parsing was broken) * more doc updates/more support for BB_FEATURE_SIMPLE_HELP -Erik git-svn-id: svn://busybox.net/trunk/busybox@530 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add suffix stripping support to basenameerik2000-05-101-5/+17
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@529 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More stufferik2000-05-022-8/+9
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@515 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Due to the license change I can now use Minix code. Minix trerik2000-05-011-525/+190
| | | | | | | | | (adapted) now replaces BSD tr. Goes from 5k to 1k, and eliminates bsearch from the list of libc symbols. -Erik git-svn-id: svn://busybox.net/trunk/busybox@513 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My little adventure of analyzing lib usage has already rooted outerik2000-05-011-5/+5
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@510 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some accrued fixes/updates.erik2000-05-012-2/+96
| | | | | | | | | | | * cp/mv now accepts (and ignores) the -f flag, since it always does force anyway * tail can now accept -<num> commands (e.g. -10) for better compatibility with the standard tail command * added a simple id implementation; doesn't support supp. groups yet git-svn-id: svn://busybox.net/trunk/busybox@507 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix stupid bugs. update was segfaulting. mknod minor # was always 0erik2000-04-281-1/+2
| | | | | | | | due to a parsing bug. Oops. -Erik git-svn-id: svn://busybox.net/trunk/busybox@501 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest and greatest. Some effort at libc5 (aiming towards newlib)erik2000-04-285-17/+13
| | | | | | | | compatability. -Erik git-svn-id: svn://busybox.net/trunk/busybox@499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More Doc updates. cmdedit and more termio fixes.erik2000-04-215-12/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@492 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - grep -v ^\.PHONY < Makefilebeppu2000-04-171-1/+4
| | | | | | | | | | + busybox.def.h BB_FEATURE_TRIVIAL_HELP + uname.c has an example of how BB_FEATURE_TRIVIAL_HELP is to be applied. git-svn-id: svn://busybox.net/trunk/busybox@471 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bugfixes.erik2000-04-171-5/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@468 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More updates to the docs, and fixes to sync things with the docs.erik2000-04-175-17/+16
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@467 69ca8d6d-28ef-0310-b511-8ec308f3f277
* + in the interest of robustness, I addedbeppu2000-04-171-26/+6
| | | | | | | | | | | utility.c :: cstring_alloc() utility.c :: cstring_lineFromFile() /* they're at the bottom */ so that I could read in lines of arbitrary length from FILE*s (instead of using fgets(huge_ass_buffer,...)). + I tested it out on sort, and it seems to be fine. git-svn-id: svn://busybox.net/trunk/busybox@463 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More documentation updates, and minor fixes to make things syncerik2000-04-156-28/+57
| | | | | | | | up with the docs. -Erik git-svn-id: svn://busybox.net/trunk/busybox@457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More doc updates for BusyBox, with fixes to apps for bugs revealederik2000-04-135-144/+73
| | | | | | | | while trying to write docs . :-) -Erik git-svn-id: svn://busybox.net/trunk/busybox@451 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Upates to include copyright 2000 to everythingerik2000-04-1315-30/+33
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@447 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some more minor updates to better use some gcc attributes.erik2000-04-061-0/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@436 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Oops. Forgot the usleep.c file.erik2000-04-041-0/+38
| | | | | | | | /me dons a paper bag. -Erik git-svn-id: svn://busybox.net/trunk/busybox@429 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another installment in the ongoing tar sagaerik2000-03-281-3/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@424 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The new tar for busybox is now done, and works just fineerik2000-03-243-18/+14
| | | | | | | | for extracting files. Creation of tarballs is next... -Erik git-svn-id: svn://busybox.net/trunk/busybox@421 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My latest ramblings.erik2000-03-234-16/+23
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use the nice new find_real_root_device function to find theerik2000-03-221-5/+3
| | | | | | | | | name of the root device, instead of having libc read whatever lies happen to be in /etc/mtab. -Erik git-svn-id: svn://busybox.net/trunk/busybox@418 69ca8d6d-28ef-0310-b511-8ec308f3f277