aboutsummaryrefslogtreecommitdiff
path: root/coreutils
AgeCommit message (Collapse)Author
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
2000-05-01Due to the license change I can now use Minix code. Minix trErik Andersen
(adapted) now replaces BSD tr. Goes from 5k to 1k, and eliminates bsearch from the list of libc symbols. -Erik
2000-05-01My little adventure of analyzing lib usage has already rooted outErik Andersen
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
2000-05-01Some accrued fixes/updates.Erik Andersen
* 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
2000-04-28Fix stupid bugs. update was segfaulting. mknod minor # was always 0Erik Andersen
due to a parsing bug. Oops. -Erik
2000-04-28Latest and greatest. Some effort at libc5 (aiming towards newlib)Erik Andersen
compatability. -Erik
2000-04-21More Doc updates. cmdedit and more termio fixes.Erik Andersen
2000-04-17- grep -v ^\.PHONY < MakefileJohn Beppu
+ busybox.def.h BB_FEATURE_TRIVIAL_HELP + uname.c has an example of how BB_FEATURE_TRIVIAL_HELP is to be applied.
2000-04-17Bugfixes.Erik Andersen
-Erik
2000-04-17More updates to the docs, and fixes to sync things with the docs.Erik Andersen
-Erik
2000-04-17+ in the interest of robustness, I addedJohn Beppu
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.
2000-04-15More documentation updates, and minor fixes to make things syncErik Andersen
up with the docs. -Erik
2000-04-13More doc updates for BusyBox, with fixes to apps for bugs revealedErik Andersen
while trying to write docs . :-) -Erik
2000-04-13Upates to include copyright 2000 to everythingErik Andersen
-Erik
2000-04-06Some more minor updates to better use some gcc attributes.Erik Andersen
-Erik
2000-04-04Oops. Forgot the usleep.c file.Erik Andersen
/me dons a paper bag. -Erik