aboutsummaryrefslogtreecommitdiff
path: root/applets/usage.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-05-02Patch from Dmitry V. Levin to fix a fd leakandersen1-0/+1
git-svn-id: svn://busybox.net/trunk/busybox@6830 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-27A couple of patches from Tito <farmatito@tiscali.it>andersen2-18/+21
git-svn-id: svn://busybox.net/trunk/busybox@6823 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-27Use bb_xgetlargbug11-9/+1
git-svn-id: svn://busybox.net/trunk/busybox@6822 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-27New applet, foldbug15-0/+222
git-svn-id: svn://busybox.net/trunk/busybox@6821 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-27Config option to create an fgrep aliasbug12-0/+12
git-svn-id: svn://busybox.net/trunk/busybox@6820 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-27Fix segfault when cleaning upbug11-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@6819 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-27grep -f support, adds only 60 Bytes, but regex's now compiled asbug11-27/+48
required, rather than being pre-compiled. git-svn-id: svn://busybox.net/trunk/busybox@6818 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-26Always preserve datebug11-2/+1
git-svn-id: svn://busybox.net/trunk/busybox@6817 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-26New commands, 'G' and 'H'bug11-1/+21
git-svn-id: svn://busybox.net/trunk/busybox@6816 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-26Add the -d option, its used by old versions of config.guess, change tobug11-3/+26
use getopt. git-svn-id: svn://busybox.net/trunk/busybox@6815 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-26iPatch from waldi, fixes usage of ip route flush (from)? (match|exact)bug11-0/+14
git-svn-id: svn://busybox.net/trunk/busybox@6813 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-25Patch from Steven Scholz to fix telnetd compile problemandersen1-2/+2
git-svn-id: svn://busybox.net/trunk/busybox@6811 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-24There have been many reports of init failing to reboot and/or failing to haltandersen1-7/+21
over the years. Well I finally took the time to track this down. It turns out that inside linux/kernel/sys.c the kernel will call machine_halt(); do_exit(0); when halting, or will call machine_power_off(); do_exit(0); during a reboot. Unlike sysv init, we call reboot from within the init process, so if the call to machine_halt() or machine_power_off() returns, the call to do_exit(0) will cause the kernel to panic. Which is a very bad thing to happen. So I just added this little patch to fork and call the reboot syscall from within the forked child process, thereby neatly avoiding the problem. But IMHO, both calls to do_exit(0) within linux/kernel/sys.c are bugs and should be fixed. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6808 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-21unlink a previous file before its extractedbug11-1/+2
git-svn-id: svn://busybox.net/trunk/busybox@6805 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-21sync with waldibug15-13/+47
git-svn-id: svn://busybox.net/trunk/busybox@6804 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-21unlink() an existing file, before opening it, simply truncating canbug11-1/+2
cause nasty problems if overwriting glibc, spotted by waldi. git-svn-id: svn://busybox.net/trunk/busybox@6803 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-21Add link to SimplyGNUstepandersen1-0/+1
git-svn-id: svn://busybox.net/trunk/busybox@6801 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-19Patch from David Updegraff to use calloc so that forward pointers start outandersen1-7/+29
NULL, and so it can handle format strings that have stuff _after_ the last %? specification git-svn-id: svn://busybox.net/trunk/busybox@6798 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-19Patch from David Updegraff to avoid corrupting memory while parsing theandersen1-2/+5
networks/iterfaces file with next_word routine. Without this, next_word increments one beyond the end of the string. git-svn-id: svn://busybox.net/trunk/busybox@6797 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-16Minor .o file naming changeandersen2-5/+5
git-svn-id: svn://busybox.net/trunk/busybox@6796 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-16enable CONFIG_USE_BB_PWD_GRP for the debian installer,andersen4-4/+4
to prevent glibc from trying and failing to use NSS junk that is not present. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6795 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-12Fix logic error in grouped commandsbug11-42/+25
git-svn-id: svn://busybox.net/trunk/busybox@6792 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-11Fix up indentingbug11-78/+59
git-svn-id: svn://busybox.net/trunk/busybox@6791 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-09Really fix the 'r' commandbug11-4/+7
git-svn-id: svn://busybox.net/trunk/busybox@6790 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-09Fix the sed 'r' commandbug11-3/+2
git-svn-id: svn://busybox.net/trunk/busybox@6789 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-09fix substitution when replacing with &, we shouldnt check for an escape ↵bug11-2/+1
charcter. Its already been taken care of _somewhere_ else git-svn-id: svn://busybox.net/trunk/busybox@6788 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-09Label ends at a newline, update comments, rename linked list fieldbug11-36/+37
git-svn-id: svn://busybox.net/trunk/busybox@6787 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-08Run through indentbug11-301/+360
git-svn-id: svn://busybox.net/trunk/busybox@6786 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-08Fixes block commands to correctly identify end of block, recognise the #n ↵bug11-27/+63
directive, fix substitue command when regex isnt specified git-svn-id: svn://busybox.net/trunk/busybox@6785 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-07Add hold space commands 'g', 'h', 'x'bug11-5/+19
git-svn-id: svn://busybox.net/trunk/busybox@6784 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-07Rename "line" to pattern_space to be more descriptive and closer to the ↵bug11-34/+32
POSIX description git-svn-id: svn://busybox.net/trunk/busybox@6783 69ca8d6d-28ef-0310-b511-8ec308f3f277
2003-04-06Sync with waldi's packagebug18-247/+1160
git-svn-id: svn://busybox.net/trunk/busybox@6782 69ca8d6d-28ef-0310-b511-8ec308f3f277