aboutsummaryrefslogtreecommitdiff
path: root/coreutils
AgeCommit message (Collapse)Author
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
2000-06-07* Fixed 'swapon -a' and 'swapoff -a', which were broken.Eric Andersen
* Fixed 'mount -a' so it works as expected. * Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE) -Erik
2000-06-06Fix 'date -u'Eric Andersen
-Erik
2000-06-06Fixed a bunch of stuff:Eric Andersen
* 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
2000-06-04Don't allow mkfifo to create files such as "--help"Eric Andersen
This patch checks if the name of FIFO to be created begins with "-" and calls usage() if it does. Regards, Pavel Roskin
2000-06-02Fix touch so it behaves itself (it could segfault in some cases).Eric Andersen
Fix uname help info formatting. -Erik
2000-06-02This is a fix for chrootEric Andersen
- Fixed error message when the command is not specified (possibly crash on libc5 systems!) - Debugging output removed - Using fatalError() whenever appropriate Regards, Pavel Roskin
2000-06-02Pavel fixed a segfault in yes.Eric Andersen
-Erik
2000-06-02A number of additional fixed from Pavel Roskin, note some more bugs in theEric Andersen
TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox, which is now included. -Erik
2000-05-19More libc portability updates, add in the website (which has not beenErik Andersen
archived previously). Wrote 'which' during the meeting today. -Erik
2000-05-17Some more portability updatesErik Andersen
-Erik
2000-05-16Some updates for better portability.Erik Andersen
-Erik
2000-05-13More doc updatesErik Andersen
-Erik
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
2000-05-10* cp -fa now works as expected for symlinks (it didn't before)Erik Andersen
* zcat works again (wasn't working since option parsing was broken) * more doc updates/more support for BB_FEATURE_SIMPLE_HELP -Erik
2000-05-10Add suffix stripping support to basenameErik Andersen
-Erik
2000-05-02More stuffErik Andersen
-Erik