aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate superfluous test.kraai2001-03-072-4/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2003 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed KILOBYTE, MEGABYTE, and GIGABYTE from #define to enum.markw2001-03-072-6/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2002 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some minor cleanups to df.c. Also, with Erik's blessing, changed name ofmarkw2001-03-079-81/+87
| | | | | | | 'format' function to 'make_human_readable_str'. git-svn-id: svn://busybox.net/trunk/busybox@2001 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Christophe Boyaniqu to remove double-slashes printed inmarkw2001-03-071-1/+4
| | | | | | | recursive_action. git-svn-id: svn://busybox.net/trunk/busybox@2000 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch by Vladimir and Larry saves a few bytes.andersen2001-03-072-10/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1998 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Static-ify a variable. make du work with all the human-readable variantsandersen2001-03-074-12/+34
| | | | | | | since my last pass only fixed 'du -h' but left the others broken. git-svn-id: svn://busybox.net/trunk/busybox@1997 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up du so it behaves itself also.andersen2001-03-072-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1996 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove an unused variableandersen2001-03-073-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1995 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite of format so it behaves itselfandersen2001-03-071-36/+16
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1994 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up df so it works properlyandersen2001-03-072-20/+10
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1993 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up ls.c to ensure human readable works properly in all casesandersen2001-03-072-10/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1992 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Thought of another janitorial item for the list.markw2001-03-061-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1991 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I made these little simplifications a while back, bug forgot toandersen2001-03-064-14/+6
| | | | | | | | check this stuff in. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1990 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix the memory leak. No really this time.andersen2001-03-063-21/+27
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1989 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Vladimir Oleynik via Magnus Damm that removes newlines frommarkw2001-03-062-24/+16
| | | | | | | error_msg() calls and uses 'return EXIT_SUCCESS' instead of return 0. git-svn-id: svn://busybox.net/trunk/busybox@1988 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up some silly macros and use xmalloc and friends exclusively.andersen2001-03-061-6/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1987 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix func prototypeandersen2001-03-063-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1986 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a memory leak in lash. It seems that close_all was calling close()andersen2001-03-063-3/+3
| | | | | | | | | directly instead of calling mark_closed(), which allowed the memory allocated by mark_open() to never be freed. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1985 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Close open files before calling builtin_exec(). I've tested thisandersen2001-03-063-0/+3
| | | | | | | | and it fixes bug #1121. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1984 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug 1110 reported that the LOOP_GET_STATUS ioctl apparently returnes non-zeroandersen2001-03-061-1/+1
| | | | | | | | | error messages, contrary to the documentation. Whatever. This patch from zhaoway <zw@debian.org> looks safe enough. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1983 69ca8d6d-28ef-0310-b511-8ec308f3f277
* minor cleanupbeppu2001-03-061-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1982 69ca8d6d-28ef-0310-b511-8ec308f3f277
* First pass at trying to retrofit a changelog for 0.50. Please everyoneandersen2001-03-061-5/+59
| | | | | | | | | look over this and if I forgot something, misattributed your work, or spelled something badly, please let me know. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1981 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in a first pass at ifconfig status reporting. It took a long whileandersen2001-03-064-482/+2482
| | | | | | | | | | hacking on the mess in net-tools-1.59, but it currently adds 12k and supports ethernet, loop, ppp, and treats everything else as a generic interface. Works ok for me. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1978 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up the freshmeat appindex record.andersen2001-03-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1971 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make sure libpwd.a is linked _last_ so it overrides the system pwd/grpandersen2001-03-051-4/+4
| | | | | | | implementation. It wasn't doing that as expected... git-svn-id: svn://busybox.net/trunk/busybox@1970 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Try to do a little better at documenting how to useandersen2001-03-051-0/+10
| | | | | | | alternate C libraries, thanks to David Douthitt. git-svn-id: svn://busybox.net/trunk/busybox@1969 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add wget, tr, telnet, ping, md5sum and loadkmap to .debdwhedon2001-03-051-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1968 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Enable INSTALLER for the debandersen2001-03-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1965 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir to make sure PATH is set correctly.andersen2001-03-042-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1963 69ca8d6d-28ef-0310-b511-8ec308f3f277
* If umount2 is not available, stub it out.andersen2001-03-041-5/+20
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1962 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added some words on use of getopt in applets.markw2001-03-032-1/+50
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1959 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont try to automount some specific filesystem typesbug12001-03-022-8/+28
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1958 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Vladimir N. Oleynik that fixes incorrect behaviour inmarkw2001-03-022-498/+602
| | | | | | | recovery_mode and changed option processing. git-svn-id: svn://busybox.net/trunk/busybox@1957 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed section on testing that is now in contributing.txt.markw2001-03-021-20/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1956 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added 'How to contribute to Busybox' doc.markw2001-03-021-0/+390
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1955 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Whoops! BB_TFTP should prolly be off by default.markw2001-03-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1954 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added Magnus Damm's tftp applet to Busybox.markw2001-03-028-0/+931
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1953 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed exit code from -1 to 0 when busybox is invoked with no args.markw2001-03-022-2/+2
| | | | | | | (Closes bug #1114.) git-svn-id: svn://busybox.net/trunk/busybox@1952 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from David Douthitt to fix build error in df.c whenmarkw2001-03-012-2/+2
| | | | | | | BB_FEATURE_HUMAN_READABLE was disabled. git-svn-id: svn://busybox.net/trunk/busybox@1949 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bah. I missed a header file.andersen2001-03-012-2/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1948 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reduce the size of mount (and bypass /proc/filesystems) by using the sysfsandersen2001-03-013-124/+30
| | | | | | | | system call, based on work done by Glenn McGrath in December. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1947 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Keep trying if an NFS mount fails, and eliminate a call to exit(3).kraai2001-02-282-10/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1945 69ca8d6d-28ef-0310-b511-8ec308f3f277
* libpwd was getting added twice.andersen2001-02-271-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1943 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Little patchlet to make linking against libc5 work a little bettermarkw2001-02-271-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1941 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir N. Oleynik to save 128 bytes by moving errorandersen2001-02-276-28/+16
| | | | | | | checking for some my_* functions to utility.c git-svn-id: svn://busybox.net/trunk/busybox@1940 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Magnus Damm <damm@opensource.se> to fix a 'inner scope varmarkw2001-02-262-2/+4
| | | | | | | | masking outer scope var with same name' bug that was preventing the loopback device from being unmounted if mount() fails. git-svn-id: svn://busybox.net/trunk/busybox@1938 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - changed the way POD is generated such that the dashedbeppu2001-02-261-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | line appears at the bottom instead of the top. The indentation semantics of POD make the first item in the (=over,=back) block look weird the other way. - implemented a way to encode example usage into usage.h One would define a macro called "${applet}_example_usage" which would expand to the example text. - The example usage is considered optional, but trivial and full usage are not. Here's an example using chown. ---- before #define chown_trivial_usage \ "[OPTION]... OWNER[<.|:>[GROUP] FILE..." #define chown_full_usage \ "Change the owner and/or group of each FILE to OWNER and/or GROUP.\n" \ "\nOptions:\n" \ "\t-R\tChanges files and directories recursively." #define chown_example_usage \ "\t$ ls -l /tmp/foo\n" \ "\t-r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo\n" \ "\t$ chown root /tmp/foo\n" \ "\t$ ls -l /tmp/foo\n" \ "\t-r--r--r-- 1 root andersen 0 Apr 12 18:25 /tmp/foo\n" \ "\t$ chown root.root /tmp/foo\n" \ "\tls -l /tmp/foo\n" \ "\t-r--r--r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n" ---- after =item I<chown> chown [OPTION]... OWNER[<.|:>[GROUP] FILE... Change the owner and/or group of each FILE to OWNER and/or GROUP. Options: -R Changes files and directories recursively. Example: $ ls -l /tmp/foo -r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo $ chown root /tmp/foo $ ls -l /tmp/foo -r--r--r-- 1 root andersen 0 Apr 12 18:25 /tmp/foo $ chown root.root /tmp/foo ls -l /tmp/foo -r--r--r-- 1 root root 0 Apr 12 18:25 /tmp/foo ------------------------------- git-svn-id: svn://busybox.net/trunk/busybox@1931 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, from Quinn Jensen <jensenq@lineo.com>, adds MIPS supportandersen2001-02-242-8/+254
| | | | | | | | to busybox insmod. Thanks Quinn!!! -Erik git-svn-id: svn://busybox.net/trunk/busybox@1930 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make output match the real lsmod -- print (autoclean) typeandersen2001-02-242-12/+12
| | | | | | | | stuff first not last. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1929 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stub out the syscall, not the whole application. The stubbedandersen2001-02-242-16/+36
| | | | | | | | | out syscall sets errno properly and whines about missing kernel support. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1928 69ca8d6d-28ef-0310-b511-8ec308f3f277