summaryrefslogtreecommitdiff
path: root/internal.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Forgot to commit these cleanups it seems.Eric Andersen2000-07-111-0/+4
| | | | -Erik
* Added 'dumpkmap' to allow people to dump a binary keymap, which can then beEric Andersen2000-07-111-0/+1
| | | | | loaded in by 'loadkmap' -- submitted by Arne Bernin <arne@matrix.loopback.org> -Erik
* Applied patch from Matt Kraai which does the following:Mark Whitley2000-07-111-1/+2
| | | | | | | - adds case-insensitive matching in sed s/// epxressions - consolodates common regcomp code in grep & sed into bb_regcomp and put in utility.c - cleans up a bunch of cruft
* Fixed NFS so it supports 2.4.x kernels and NFSv3. Should close bug #1009.Eric Andersen2000-07-101-1/+5
| | | | -Erik
* From Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen2000-07-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove leftovers of block_device, which disapperared aroundEric Andersen2000-07-061-1/+0
| | | | | busybox 0.28. -Erik
* * Fix to tr so it recognizes standard escape sequences. Merged commonEric Andersen2000-07-051-0/+1
| | | | | | | 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
* Yanked out the cstring_alloc() and cstring_lineFromFile() functions fromMark Whitley2000-06-281-1/+1
| | | | | | | 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.
* Better cross libc support.Eric Andersen2000-06-281-3/+0
| | | | -Erik
* Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries inEric Andersen2000-06-261-1/+20
| | | | | /proc/mounts, added a hack to make sysinfo work with both old and new kernels). -Erik
* Removed all vestiges of "math"Pavel Roskin2000-06-211-1/+0
|
* + added dc (aka the function formerly known as math)John Beppu2000-06-211-0/+1
| | | | + did all the housekeeping that this change requires.
* Special case the memcopy stuff so it isn't enabled for uclibcEric Andersen2000-06-201-1/+1
| | | | -Erik
* Finish off the libc5 porting effort. Everything now works with libc5Eric Andersen2000-06-191-0/+9
| | | | | except for md5sum, which uses the GNU libc addition getline(). -Erik
* Update internal.h to conditionally include asm/string.hEric Andersen2000-06-191-0/+2
| | | | -Erik
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-0/+1
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Fix some spelling errors in the source as well.Eric Andersen2000-06-161-1/+1
| | | | -Erik
* Add new apps md5sum uudecode uuencode, fix some minor formatting things.Eric Andersen2000-06-131-0/+3
| | | | -Erik
* A number of additional fixed from Pavel Roskin, note some more bugs in theEric Andersen2000-06-021-0/+1
| | | | | | TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox, which is now included. -Erik
* First pass at fixing tar segfault, and more portability updates.Erik Andersen2000-05-201-12/+0
| | | | -Erik
* More libc portability updates, add in the website (which has not beenErik Andersen2000-05-191-0/+1
| | | | | archived previously). Wrote 'which' during the meeting today. -Erik
* Some more portability updatesErik Andersen2000-05-171-5/+5
| | | | -Erik
* BusyBox shell (lash) can now be used as a standalone shell whenErik Andersen2000-05-131-1/+3
| | | | | | 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
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen2000-05-121-2/+3
| | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
* * cp -fa now works as expected for symlinks (it didn't before)Erik Andersen2000-05-101-2/+2
| | | | | | * zcat works again (wasn't working since option parsing was broken) * more doc updates/more support for BB_FEATURE_SIMPLE_HELP -Erik
* Some accrued fixes/updates.Erik Andersen2000-05-011-4/+11
| | | | | | | | * 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
* Latest and greatest. Some effort at libc5 (aiming towards newlib)Erik Andersen2000-04-281-22/+41
| | | | | compatability. -Erik
* Several more updatesErik Andersen2000-04-251-0/+1
| | | | -Erik
* + in the interest of robustness, I addedJohn Beppu2000-04-171-0/+2
| | | | | | | | 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.
* Some enhancements I've been working on over the weekend,Erik Andersen2000-04-121-6/+0
| | | | -Erik
* Patch to make killall actually kill all PIDs with the specified name,Erik Andersen2000-04-071-1/+1
| | | | | | | 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
* Some more minor updates to better use some gcc attributes.Erik Andersen2000-04-061-2/+2
| | | | -Erik
* usleep contributed by Nicolas Pitre <nico@cam.org>Erik Andersen2000-04-041-0/+1
| | | | -Erik
* Yet another installment in the ongoing tar sagaErik Andersen2000-03-281-4/+3
| | | | -Erik
* The new tar for busybox is now done, and works just fineErik Andersen2000-03-241-7/+3
| | | | | for extracting files. Creation of tarballs is next... -Erik
* My latest ramblings.Erik Andersen2000-03-231-2/+6
| | | | -Erik
* Use the nice new find_real_root_device function to find theErik Andersen2000-03-221-0/+2
| | | | | | name of the root device, instead of having libc read whatever lies happen to be in /etc/mtab. -Erik
* Some more stuff.Erik Andersen2000-03-191-0/+6
| | | | -Erik
* Major build system updates...Erik Andersen2000-03-161-0/+10
| | | | -Erik
* First pass at writing a shell for busybox.Erik Andersen2000-03-121-0/+1
| | | | | | | | | | 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
* Wrote killall.Erik Andersen2000-03-071-1/+1
| | | | | | Adjusted mount, ps, utility.c, etc to handle my nifty new kernel patches the allow busybox to run perfectly without /proc. -Erik
* Add in tr and dirnameErik Andersen2000-03-051-0/+2
| | | | -Erik
* Wrote uptime. Doesn't use /proc. :)Erik Andersen2000-03-051-0/+1
| | | | -Erik
* Add in freeramdisk.c, which (duh) frees ramdisks. If you have anyErik Andersen2000-03-041-0/+1
| | | | | | ramdisks lying about and want to free up the memory they have used, this baby is the answar you have been waiting for. -Erik
* A few updates (including the cp fix the Craig has been looking for)Erik Andersen2000-03-041-0/+11
| | | | -Erik
* Sync up a few things. Add in a new telnet implementation (stillErik Andersen2000-02-221-0/+1
| | | | | not perfect though). -Erik
* Some updates for the day,Erik Andersen2000-02-181-0/+1
| | | | -Erik
* UpdatesErik Andersen2000-02-111-6/+6
| | | | -Erik
* Fixed the init problem where it wouldn't unmount filesystemsErik Andersen2000-02-091-0/+2
| | | | | on reboot. Also fixed swapoff -a so it works. -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-2/+2
| | | | -Erik