aboutsummaryrefslogtreecommitdiff
path: root/coreutils
AgeCommit message (Collapse)Author
2000-08-28Rewritten by mistake.Matt Kraai
2000-08-25ar.c now uses a linked list to process headers, uses getopt, new internal ↵Glenn L McGrath
function extractAr(srcFD, dstFd, filename) to make it easily accessable to other busybox functions. moved copySubFile from ar.c to utilities.c modified dd.c to use fullWrite modified copyFile in utilities.c to use copySubFile
2000-08-22Fixed a warning about a label not being usedPavel Roskin
2000-08-22Fixed misuse of type "char"Pavel Roskin
2000-08-11Add optional ls file sorting, thanks to a patch fromEric Andersen
Sterling Huxley <sterling@europa.com> -Erik
2000-08-10Some #include updates.Eric Andersen
-Erik
2000-08-02Cleaner way to handle -NUM and +NUM, reduces the mem usage as well.Eric Andersen
-Erik
2000-08-02Minor cleanup thingy. fprintf(stderr, ...) -> errorMsg().Mark Whitley
2000-08-02Brand, new version of cut. This fixes the bugs in the old cut, is smaller, andMark Whitley
is a sight easier to understand than the Minix cut.
2000-08-02Update to the tail rewrite by "Allen Soard" <esp-software@mail.hypermart.net>Eric Andersen
-Erik
2000-07-31Commit the rewrite of tail by Allen SoardEric Andersen
<esp-software@mail.hypermart.net>. Thanks Allen for you work at getting this into shape, -Erik
2000-07-28Fixed to pass -WundefPavel Roskin
2000-07-28Fix for a potential uninitialized variable, thx toEric Andersen
Ken Chalmers <chalmers@norscan.com> -Erik
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