summaryrefslogtreecommitdiff
path: root/utility.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* More stuffErik Andersen2000-05-021-9/+0
| | | | -Erik
* Some accrued fixes/updates.Erik Andersen2000-05-011-15/+42
| | | | | | | | * 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-7/+6
| | | | | compatability. -Erik
* Fix creation of /linuxrcErik Andersen2000-04-181-4/+6
| | | | -Erik
* Really fix the killall segfault this time.Erik Andersen2000-04-181-4/+5
| | | | -Erik
* Fix symlink following bug in chmod -R and friends. Allow SYSV styleErik Andersen2000-04-181-6/+11
| | | | | | | 'chown foo:bar' in addition to 'chown foo.bar', and fix a bug in the busybox globbing routine such that 'find /dir -name [i]' no longer segfaults. -Erik
* Fix stupid bug (wrong variable)Erik Andersen2000-04-181-5/+9
| | | | -Erik
* More little stuff.Erik Andersen2000-04-181-5/+25
| | | | -Erik
* Fix killallErik Andersen2000-04-181-1/+3
| | | | -Erik
* UpdatesErik Andersen2000-04-181-1/+2
| | | | -Erik
* + in the interest of robustness, I addedJohn Beppu2000-04-171-0/+51
| | | | | | | | 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.
* Patch to make killall actually kill all PIDs with the specified name,Erik Andersen2000-04-071-17/+22
| | | | | | | 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
* Tar now works perfectly. It behaves much better now then itErik Andersen2000-04-051-2/+2
| | | | | used to. Only thing left to do is add in exclude (-X) option. -Erik
* Yet another installment in the ongoing tar sagaErik Andersen2000-03-281-21/+11
| | | | -Erik
* The new tar for busybox is now done, and works just fineErik Andersen2000-03-241-3/+3
| | | | | for extracting files. Creation of tarballs is next... -Erik
* My latest ramblings.Erik Andersen2000-03-231-3/+3
| | | | -Erik
* Use the nice new find_real_root_device function to find theErik Andersen2000-03-221-10/+19
| | | | | | name of the root device, instead of having libc read whatever lies happen to be in /etc/mtab. -Erik
* Add in a nifty function for mount to use.Erik Andersen2000-03-221-0/+36
| | | | -Erik
* * all mallocs now use xmalloc (and so are OOM error safe), andErik Andersen2000-03-211-13/+5
| | | | | | the common error handling saves a few bytes. Thanks to Bob Tinsley <bob@earthrise.demon.co.uk> for the patch. -Erik
* Several fixes.Erik Andersen2000-03-171-3/+2
| | | | -Erik
* Major build system updates...Erik Andersen2000-03-161-2/+2
| | | | -Erik
* First pass at writing a shell for busybox.Erik Andersen2000-03-121-2/+2
| | | | | | | | | | 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
* Change BB_FEATURE_USE_DEVPS_N_DEVMTAB to the simpler0_43pre1Erik Andersen2000-03-081-7/+7
| | | | | BB_FEATURE_USE_DEVPS_PATCH. -Erik
* Fix bugs related to finding PIDs.Erik Andersen2000-03-071-9/+19
| | | | -Erik
* Fix up some #define stuff to ensure the Right Thing(tm)Erik Andersen2000-03-071-2/+2
| | | | | | happens with all combinations of BB_KILL and BB_KILLALL being defined. -Erik
* Wrote killall.Erik Andersen2000-03-071-11/+90
| | | | | | Adjusted mount, ps, utility.c, etc to handle my nifty new kernel patches the allow busybox to run perfectly without /proc. -Erik
* Add in freeramdisk.c, which (duh) frees ramdisks. If you have anyErik Andersen2000-03-041-2/+0
| | | | | | 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-3/+77
| | | | -Erik
* Fixed rebooting when init runs as /linuxrcErik Andersen2000-02-231-2/+2
| | | | -Erik
* Removed proc dependancies for init and free (which maintaining exactlyErik Andersen2000-02-211-10/+5
| | | | | | | the same functionality). /proc takes up 90k of kernel space, so it is nice to avoid using it at all costs. The only places where it is depended on is for cetain optional mount/umount features, and for ps and lsmod. -Erik
* UpdatesErik Andersen2000-02-111-15/+44
| | | | -Erik
* Fixed the init problem where it wouldn't unmount filesystemsErik Andersen2000-02-091-0/+14
| | | | | on reboot. Also fixed swapoff -a so it works. -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-698/+696
| | | | -Erik
* mkdir -p had gotten broken. Fixed now.Erik Andersen2000-02-081-1/+2
| | | | -Erik
* device_open is common code -- moved into utility.cErik Andersen2000-02-071-0/+22
| | | | -Erik
* A few minor updates. ;-)Erik Andersen2000-02-071-107/+148
| | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
* copy fixes to simplify link copying and always do the right thing.Erik Andersen2000-01-291-10/+8
| | | | | | ping could segfault because I'm an idiot, and tried to put a value in where I hadn't allocated storage. choke. -Erik
* Forgot some debugging noise.Erik Andersen2000-01-271-1/+1
| | | | -Erik
* copyFile could call chmod on a symlink, changing the permsErik Andersen2000-01-271-13/+13
| | | | | of the pointed to file. Minor fix to tar for directory handling. -Erik
* Shuffle location of generic code into utility.cErik Andersen2000-01-261-1/+69
| | | | -Erik
* mount and umount could leak loop device allocations causing the system toErik Andersen2000-01-261-0/+25
| | | | | quickly run out. Also disable init's SIGHUP handler during shutdown. -Erik
* Some busybox updates. See the changelog for details if you care.Erik Andersen2000-01-251-2/+19
| | | | -Erik
* Fix a bug where tar could change perms and ownership of dirs pointedErik Andersen2000-01-231-2/+11
| | | | | to by symlink within a tarball. -Erik
* Sync up busybox with the latest and greatest. This is not stuff forErik Andersen2000-01-151-0/+2
| | | | | the Embedix release. -Erik
* Bug fixes.Erik Andersen2000-01-131-2/+9
| | | | -Erik
* The latest and greatest. init basically works, though needsErik Andersen2000-01-051-10/+0
| | | | | | a minor inittab design change to accomodate specifying the device to run each process on. -Erik
* Bunches of fixes. Typos, bugs, etc.Erik Andersen2000-01-041-3/+13
| | | | | | Added 'gunzip -t'. inittab support _almost_ works (but it isn't ready for prime time useage yet). -Erik
* Add the beginings of some regression testing. Add in the recentlyErik Andersen1999-12-291-1/+1
| | | | | contributed loadacm utility (for dealing with unicode fonts) -Erik
* Fixed cp so it works as God intended it to.Erik Andersen1999-12-291-2/+3
| | | | -Erik
* Sync to my local treeErik Andersen1999-12-211-1/+1
|