aboutsummaryrefslogtreecommitdiff
path: root/coreutils
AgeCommit message (Collapse)Author
2000-07-28Some cleanups, based on a patch from Ken ChalmersEric Andersen
-Erik
2000-07-26Fixed a syntax error & superfluous param decl that was causing the build toMark Whitley
fail.
2000-07-26Fix some bitrot.Eric Andersen
-Erik
2000-07-25Use BB_FEATURE_CLEAN_UP where appropriateEric Andersen
-Erik
2000-07-24chroot can now call the builtin shellPavel Roskin
2000-07-20Converted option parsing to using getopt(). Also managed to remove anMark Whitley
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.
2000-07-20Whoops. Forgot to #include <getopt.h>.Mark Whitley
2000-07-19Converted option parsing to getopt() and made some minor formatting changes.Mark Whitley
2000-07-19Centralize handling of --help.Matt Kraai
2000-07-19Add usage messages for applets without them.Matt Kraai
2000-07-19Use FatalError()Eric Andersen
-Erik
2000-07-17Moved functions used by "lsmod" from cat.c to utility.cPavel Roskin
Adjusted to make lsmod and sh compilable as standalone apps. Comment fixes
2000-07-17The result of getopt() is "int" and should be treated as suchPavel Roskin
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-14Don't use strings directly in calls to usage(). This is in preparationMatt Kraai
for their extraction to a separate file.
2000-07-14Getopt'ed by Marc Nijdam <marc_nijdam@hp.com>Eric Andersen
-Erik
2000-07-14Getopt'rd by Marc Nijdam <marc_nijdam@hp.com>Eric Andersen
-Erik
2000-07-14More cleanups.Eric Andersen
-Erik
2000-07-14Fix argument parsing.Matt Kraai
2000-07-14Use errorMsg rather than fprintf.Matt Kraai
2000-07-13Fix uninitialized variable.Eric Andersen
-Erik
2000-07-13From Matt Kraai <kraai@alumni.carnegiemellon.edu>Eric Andersen
> 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
2000-07-13Correct argument parsing and other minor cleanups.Matt Kraai
2000-07-12Always report the applet name when doing error reporting.Matt Kraai
2000-07-12Use global applet_name instead of local versions.Matt Kraai
2000-07-12Use global applet_name instead of local versions.Matt Kraai
2000-07-11Re-enable ln -n in the help.Eric Andersen
-Erik
2000-07-11Another patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen
> > 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
2000-07-10Comment on kernel stuffEric Andersen
-Erik
2000-07-10Remove yet more kernel header dependancies.Eric Andersen
-Erik
2000-07-10Remove unused variable.Eric Andersen
-Erik
2000-07-10From Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen
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
2000-07-10Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen
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
2000-07-09More portability updates. Now compiles cleanly vs glibc, libc5, and uclibcEric Andersen
(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due to missing stuff in the library). -Erik
2000-07-08Update files to reduce dependance on kernel version...Eric Andersen
-Erik
2000-07-06Remove MAXNAMLEN and use BUFSIZ instead.Eric Andersen
-Erik
2000-07-05Remove misguided klude around for 2.4.x-test* brokenness. Al ViroEric Andersen
will be removing this stuff from /proc/mounts real soon now I am assured. -Erik
2000-07-05* Fix to tr so it recognizes standard escape sequences. Merged commonEric Andersen
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
2000-07-03Added support for ignoring '-g' per GNU ls, thanks to David VrabelEric Andersen
<dvrabel@arcom.co.uk>. Seems some ftp clients expect the '-g' option to exist. -Erik
2000-06-28Yanked out the cstring_alloc() and cstring_lineFromFile() functions fromMark Whitley
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.
2000-06-26Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport.Eric Andersen
Fix thanks to Arne Bernin <arne@matrix.loopback.org> -Erik
2000-06-26Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries inEric Andersen
/proc/mounts, added a hack to make sysinfo work with both old and new kernels). -Erik
2000-06-22Pavel Roskin <proski@gnu.org> just found a nasty memoryEric Andersen
corruption bug. Disabling 'ln -n' till it is fixed. -Erik
2000-06-21Document 'ln --'Eric Andersen
-Erik
2000-06-19printf now compiles cleanly under both libc5 and libc6.Eric Andersen
-Erik
2000-06-19Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
2000-06-18Check for 3 and more arguments was incorrectPavel Roskin
It is only allowed for linking to a directory But linking to a directory still fails and may be removed
2000-06-15ln: fixed command line parser. Added support for "--"Pavel Roskin
2000-06-14Fixed "rm foo" that had been broken while implementing "rm -- foo"Pavel Roskin
2000-06-13Add new apps md5sum uudecode uuencode, fix some minor formatting things.Eric Andersen
-Erik