aboutsummaryrefslogtreecommitdiff
path: root/internal.h
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-06Remove leftovers of block_device, which disapperared aroundEric Andersen
busybox 0.28. -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-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-28Better cross libc support.Eric Andersen
-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-21Removed all vestiges of "math"Pavel Roskin
2000-06-21+ added dc (aka the function formerly known as math)John Beppu
+ did all the housekeeping that this change requires.
2000-06-20Special case the memcopy stuff so it isn't enabled for uclibcEric Andersen
-Erik
2000-06-19Finish off the libc5 porting effort. Everything now works with libc5Eric Andersen
except for md5sum, which uses the GNU libc addition getline(). -Erik
2000-06-19Update internal.h to conditionally include asm/string.hEric 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-16Fix some spelling errors in the source as well.Eric Andersen
-Erik
2000-06-13Add new apps md5sum uudecode uuencode, fix some minor formatting things.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-20First pass at fixing tar segfault, and more portability updates.Erik Andersen
-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-13BusyBox shell (lash) can now be used as a standalone shell whenErik Andersen
BB_FEATURE_STANDALONE_SHELL is defined (i.e. BusyBox can now completely replace sash). Also fixed it so shell builtins now respect pipes and redirects. -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-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-28Latest and greatest. Some effort at libc5 (aiming towards newlib)Erik Andersen
compatability. -Erik
2000-04-25Several more updatesErik 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-12Some enhancements I've been working on over the weekend,Erik Andersen
-Erik
2000-04-07Patch to make killall actually kill all PIDs with the specified name,Erik Andersen
rather then busylooping trying to kill the first one until it dies. Should be more efficient now, and will only send one signal to each specified process. -Erik
2000-04-06Some more minor updates to better use some gcc attributes.Erik Andersen
-Erik
2000-04-04usleep contributed by Nicolas Pitre <nico@cam.org>Erik Andersen
-Erik
2000-03-28Yet another installment in the ongoing tar sagaErik Andersen
-Erik
2000-03-24The new tar for busybox is now done, and works just fineErik Andersen
for extracting files. Creation of tarballs is next... -Erik
2000-03-23My latest ramblings.Erik Andersen
-Erik
2000-03-22Use the nice new find_real_root_device function to find theErik Andersen
name of the root device, instead of having libc read whatever lies happen to be in /etc/mtab. -Erik
2000-03-19Some more stuff.Erik Andersen
-Erik
2000-03-16Major build system updates...Erik Andersen
-Erik
2000-03-12First pass at writing a shell for busybox.Erik Andersen
Works fine, full job control support, etc. No syntax yet (if, then, while, etc). Handles pipes and & processes fine. TODO: add command editing, add syntax suport. -Erik
2000-03-07Wrote killall.Erik Andersen
Adjusted mount, ps, utility.c, etc to handle my nifty new kernel patches the allow busybox to run perfectly without /proc. -Erik
2000-03-05Add in tr and dirnameErik Andersen
-Erik
2000-03-05Wrote uptime. Doesn't use /proc. :)Erik Andersen
-Erik
2000-03-04Add in freeramdisk.c, which (duh) frees ramdisks. If you have anyErik Andersen
ramdisks lying about and want to free up the memory they have used, this baby is the answar you have been waiting for. -Erik
2000-03-04A few updates (including the cp fix the Craig has been looking for)Erik Andersen
-Erik
2000-02-22Sync up a few things. Add in a new telnet implementation (stillErik Andersen
not perfect though). -Erik
2000-02-18Some updates for the day,Erik Andersen
-Erik
2000-02-11UpdatesErik Andersen
-Erik
2000-02-09Fixed the init problem where it wouldn't unmount filesystemsErik Andersen
on reboot. Also fixed swapoff -a so it works. -Erik
2000-02-08Some formatting updates (ran the code through indent)Erik Andersen
-Erik
2000-02-07Forgot a semicolon.Erik Andersen
-Erik
2000-02-07device_open is common code -- moved into utility.cErik Andersen
-Erik
2000-02-07A few minor updates. ;-)Erik Andersen
Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
2000-01-29 nslookup -- a work in progress...John Beppu