summaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed to pass -WundefPavel Roskin2000-07-281-1/+1
|
* Fix for a potential uninitialized variable, thx toEric Andersen2000-07-281-0/+1
| | | | | Ken Chalmers <chalmers@norscan.com> -Erik
* Some cleanups, based on a patch from Ken ChalmersEric Andersen2000-07-281-10/+13
| | | | -Erik
* Fixed a syntax error & superfluous param decl that was causing the build toMark Whitley2000-07-261-1/+1
| | | | fail.
* Fix some bitrot.Eric Andersen2000-07-261-7/+7
| | | | -Erik
* Use BB_FEATURE_CLEAN_UP where appropriateEric Andersen2000-07-251-1/+1
| | | | -Erik
* chroot can now call the builtin shellPavel Roskin2000-07-241-0/+5
|
* Converted option parsing to using getopt(). Also managed to remove anMark Whitley2000-07-201-17/+17
| | | | | | extraneous logic loop that existed only for the purpose of the special case of only one file. I replaced it with a variable to keep track of the number of files read.
* Whoops. Forgot to #include <getopt.h>.Mark Whitley2000-07-201-0/+1
|
* Converted option parsing to getopt() and made some minor formatting changes.Mark Whitley2000-07-191-18/+21
|
* Centralize handling of --help.Matt Kraai2000-07-194-12/+0
|
* Add usage messages for applets without them.Matt Kraai2000-07-192-0/+6
|
* Use FatalError()Eric Andersen2000-07-191-4/+2
| | | | -Erik
* Moved functions used by "lsmod" from cat.c to utility.cPavel Roskin2000-07-171-15/+1
| | | | | Adjusted to make lsmod and sh compilable as standalone apps. Comment fixes
* The result of getopt() is "int" and should be treated as suchPavel Roskin2000-07-173-4/+4
|
* Extract usage information into a separate file.Matt Kraai2000-07-1640-471/+6
|
* Don't use strings directly in calls to usage(). This is in preparationMatt Kraai2000-07-147-57/+69
| | | | for their extraction to a separate file.
* Getopt'ed by Marc Nijdam <marc_nijdam@hp.com>Eric Andersen2000-07-142-52/+43
| | | | -Erik
* Getopt'rd by Marc Nijdam <marc_nijdam@hp.com>Eric Andersen2000-07-141-21/+11
| | | | -Erik
* More cleanups.Eric Andersen2000-07-143-18/+18
| | | | -Erik
* Fix argument parsing.Matt Kraai2000-07-141-1/+1
|
* Use errorMsg rather than fprintf.Matt Kraai2000-07-1414-43/+39
|
* Fix uninitialized variable.Eric Andersen2000-07-131-1/+1
| | | | -Erik
* From Matt Kraai <kraai@alumni.carnegiemellon.edu>Eric Andersen2000-07-131-24/+28
| | | | | | | | | | | | | > Here is a patch so that tr can handle NULL characters as well. Give it > a shot and let me know what you think. It is against the latest CVS > version. > > In my tests, the following now works as expected. > > tr '\0' '\n' > > Later, > Matt
* Correct argument parsing and other minor cleanups.Matt Kraai2000-07-131-11/+11
|
* Always report the applet name when doing error reporting.Matt Kraai2000-07-128-20/+18
|
* Use global applet_name instead of local versions.Matt Kraai2000-07-123-3/+3
|
* Use global applet_name instead of local versions.Matt Kraai2000-07-121-5/+2
|
* Re-enable ln -n in the help.Eric Andersen2000-07-111-2/+0
| | | | -Erik
* Another patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen2000-07-111-27/+2
| | | | | | | | | | > > The following patch allows ln -n to function like GNU. It also fixes a > typo with my previous patch to add support for ln FILE DIRECTORY. And > it removes some code that checks the maximum length of the filenames. I > can't figure out why that code is necessary. Anyone know? > > Matt
* Comment on kernel stuffEric Andersen2000-07-101-4/+0
| | | | -Erik
* Remove yet more kernel header dependancies.Eric Andersen2000-07-101-1/+1
| | | | -Erik
* Remove unused variable.Eric Andersen2000-07-101-1/+1
| | | | -Erik
* From Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen2000-07-102-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | Howdy, Bug #1006 reports that ln -s /tmp/foo . does not work correctly. In fact, it appears that any instantiation of ln -s FILE... DIRECTORY does not work. The following patch adds support for this form, which then fixes the particular instance noted in the bug report. In the process, I needed the basename function. This appears in the string.h provided by glibc, but not uC-libc. So I wrote my own to go in utility.c, called get_last_path_component. I also modified the basename utility to use this function. At some point it might be desirous to use the basename from the library if it exists, and otherwise compile our own. But I don't know how to do this. Matt
* Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen2000-07-101-2/+4
| | | | | | | | | | | | | | | | | | | GNU tr complains on the following: $ tr a '' tr: when not truncating set1, string2 must be non-empty BusyBox tr does not complain: $ tr a '' a ^D 0 It should result in an error, not in some spurious output. The attached patch generates an error. Matt
* More portability updates. Now compiles cleanly vs glibc, libc5, and uclibcEric Andersen2000-07-093-0/+10
| | | | | | (except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due to missing stuff in the library). -Erik
* Update files to reduce dependance on kernel version...Eric Andersen2000-07-081-4/+4
| | | | -Erik
* Remove MAXNAMLEN and use BUFSIZ instead.Eric Andersen2000-07-061-1/+1
| | | | -Erik
* Remove misguided klude around for 2.4.x-test* brokenness. Al ViroEric Andersen2000-07-051-3/+0
| | | | | will be removing this stuff from /proc/mounts real soon now I am assured. -Erik
* * Fix to tr so it recognizes standard escape sequences. Merged commonEric Andersen2000-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
* Added support for ignoring '-g' per GNU ls, thanks to David VrabelEric Andersen2000-07-031-0/+2
| | | | | | <dvrabel@arcom.co.uk>. Seems some ftp clients expect the '-g' option to exist. -Erik
* Yanked out the cstring_alloc() and cstring_lineFromFile() functions fromMark Whitley2000-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.
* Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport.Eric Andersen2000-06-261-7/+23
| | | | | Fix thanks to Arne Bernin <arne@matrix.loopback.org> -Erik
* Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries inEric Andersen2000-06-261-0/+3
| | | | | /proc/mounts, added a hack to make sysinfo work with both old and new kernels). -Erik
* Pavel Roskin <proski@gnu.org> just found a nasty memoryEric Andersen2000-06-221-1/+8
| | | | | corruption bug. Disabling 'ln -n' till it is fixed. -Erik
* Document 'ln --'Eric Andersen2000-06-211-1/+2
| | | | -Erik
* printf now compiles cleanly under both libc5 and libc6.Eric Andersen2000-06-191-2/+1
| | | | -Erik
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-1934-42/+40
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Check for 3 and more arguments was incorrectPavel Roskin2000-06-181-1/+1
| | | | | It is only allowed for linking to a directory But linking to a directory still fails and may be removed
* ln: fixed command line parser. Added support for "--"Pavel Roskin2000-06-151-8/+12
|