aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Initialise in_file to stdin, so it wont crash if no source specifiedbug12001-06-202-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2865 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed gz_open to ruturn a streambug12001-06-202-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2863 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reorganise unarchiving functions, more code re-use, only does single pass(no ↵bug12001-06-2016-702/+583
| | | | | | | | | more linked lists), basis for supporting a cpio (and cheaper untar) applet, but cpio applet isnt included in this. It effects ar, dpkg-deb applets only git-svn-id: svn://busybox.net/trunk/busybox@2862 69ca8d6d-28ef-0310-b511-8ec308f3f277
* For m68k, use __mc68000__ (not __m68k__ ), since that is what theandersen2001-06-192-34/+34
| | | | | | | | various m68k compilers seem to actually use... -Erik git-svn-id: svn://busybox.net/trunk/busybox@2857 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed a hard-coded path to a variable defined path.markw2001-06-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2855 69ca8d6d-28ef-0310-b511-8ec308f3f277
* With a bit of care I was able to save about 100 bytes.andersen2001-06-151-2/+15
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2843 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Jim Gleason that makes it so busybox will still work evenmarkw2001-06-152-2/+20
| | | | | | | if you rename it. git-svn-id: svn://busybox.net/trunk/busybox@2836 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This isnt used anymore, replaced by seek_sub_file() in ./libbb/deb_extract.cbug12001-06-151-17/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2835 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I reworked make_human_readable_str so it now has a sane interface,andersen2001-06-139-108/+58
| | | | | | | | | and then fixed up df, du, and ls to use the new interface. I also fixed up some formatting issues in ls while I was in there. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2826 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reorganise unarchive functions, new files, removed somebug12001-06-138-263/+416
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2825 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reorganise archive extraction codebug12001-06-1311-345/+332
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2823 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Benjamin Zeckel <bzeckel@cisco.com> to allowandersen2001-06-122-78/+80
| | | | | | | nslookup.c to display the correct default nameservers. git-svn-id: svn://busybox.net/trunk/busybox@2819 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in Devil-Linuxandersen2001-06-121-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2818 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Only use a login shell when it will run on a console.kraai2001-06-122-20/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2815 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Fixed bug where you couldn't mix line number and regexes in two-address cmdsmarkw2001-06-113-235/+273
| | | | | | | | | - Fixed bug where you couldn't use two addresses for a 'c' cmd - Moved the do_sed_cmd function into process_file to simplify some things - Reduced a buncha lines of code in the process git-svn-id: svn://busybox.net/trunk/busybox@2811 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Copy files until EOF, not the reported file size, to deal with bad sizes inkraai2001-06-112-30/+39
| | | | | | | the proc filesystem. git-svn-id: svn://busybox.net/trunk/busybox@2808 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add padding to struct sysinfo needed by m68k (note and patch by Richardkraai2001-06-082-0/+2
| | | | | | | Hirst). git-svn-id: svn://busybox.net/trunk/busybox@2806 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another hush update from Larry:andersen2001-06-073-28/+61
| | | | | | | | | | Fixes the interaction between if/then/else/fi syntax and variables. I planned to do it right from the beginning, but my implementation was buggy. Also adds the relevant test cases. Also adds some old Matt Kraai variable test cases that got left out somehow. git-svn-id: svn://busybox.net/trunk/busybox@2804 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add the Linux Terminal Server Projectandersen2001-06-061-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2797 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Larry to fix pathological things like '>""'andersen2001-06-062-10/+26
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2796 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a new testcase from Larry Doolittle (inspired by a note from Vadimkraai2001-06-051-0/+6
| | | | | | | Berkgaut). git-svn-id: svn://busybox.net/trunk/busybox@2794 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't close file descriptors when we are duplicating them.kraai2001-06-052-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not purge the .cvsignore files on 'make release' so thatandersen2001-06-041-5/+0
| | | | | | | | people can properly import into their own CVS trees. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2790 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Revert the patch from Konstantin Boldyshev <konst@linuxassembly.org> to neverandersen2001-06-042-14/+4
| | | | | | | | | | change permissions on existing directories. This behavior is contrary to SUSv2 and contrary to GNU tar. Thanks to Matt Kraai for pointing this out. I should have been much more careful about accepting such a patch. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2789 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Loop forever instead of exiting.kraai2001-06-032-18/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2788 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove space between ar optionsbug12001-06-033-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2787 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Correct ar optionsbug12001-06-033-9/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2786 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't whine about already mounted filesystems when invoked with -a.kraai2001-06-032-12/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2785 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir's last_patch13, containing several bugfixes.andersen2001-06-017-64/+218
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2779 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cope gracefully when people type something, then hit ^C.andersen2001-05-312-2/+8
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2768 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir to fix up autocompletion on a files/dirs with spaces inandersen2001-05-312-26/+8
| | | | | | | | them in the presence of a quoting. Also revert my signal handling patch, which seems to not solve the problem I thought it solved. git-svn-id: svn://busybox.net/trunk/busybox@2767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make hush the default shell. Ensure the applets_list getsandersen2001-05-301-2/+2
| | | | | | | the axe on a distclean. git-svn-id: svn://busybox.net/trunk/busybox@2765 69ca8d6d-28ef-0310-b511-8ec308f3f277
* grep failed to compile when BB_FEATURE_CLEAN_UP was defined -- types were wrong.andersen2001-05-292-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use safe_strncpy.kraai2001-05-272-6/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2753 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More shell / quoting testcases from Larry.markw2001-05-242-2/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2725 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some more patchelttes from Larry Doolittle.markw2001-05-243-4/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2724 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 'Nother patch from Larry to fix a buglet in how the line gets sed-ified.markw2001-05-242-4/+23
| | | | | | | | Also, more testcases and comments on bugs and formatting differences in some of the testcases. git-svn-id: svn://busybox.net/trunk/busybox@2723 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added support for grep -e and grep -f, closes bug #1164. Also added somemarkw2001-05-243-191/+286
| | | | | | | testcases for these new features. git-svn-id: svn://busybox.net/trunk/busybox@2722 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Numerous new testcases from Larry Doolittle and a patch to tester.sh to avoidmarkw2001-05-243-38/+99
| | | | | | | a bash2-ism and quote variables that contain strings. git-svn-id: svn://busybox.net/trunk/busybox@2721 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Plug another memory leakandersen2001-05-242-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2720 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up some signed char vs int issues that show up on powerpc.andersen2001-05-248-16/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2719 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Get BB_LASH out of the list...andersen2001-05-244-4/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2718 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Plug another memory leak in hush. This one showed up when backtickedandersen2001-05-232-0/+2
| | | | | | | | commands were run. This one was sure a bugger to find. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2717 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a massive memory leak in the run_list_test() function.andersen2001-05-232-66/+22
| | | | | | | | | Rename run_list_test() as free_pipe_list(). Rename run_pipe_test() as free_pipe(). -Erik git-svn-id: svn://busybox.net/trunk/busybox@2716 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from larry to fix some grammar errors.andersen2001-05-2332-89/+89
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit a patch by Larry Doolittle which fixes recursive calls to file_peek,kraai2001-05-232-14/+16
| | | | | | | and improves some debugging messages. git-svn-id: svn://busybox.net/trunk/busybox@2714 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make more robust (patch by Larry Doolittle).kraai2001-05-231-5/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2712 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out the descriptions of both dos2unix and unix2dosandersen2001-05-223-12/+12
| | | | | | | | were broken. This fixes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2711 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Excellent. This patch from Larry fixes the behavior of hushandersen2001-05-222-2/+6
| | | | | | | when builtins are included in pipes. git-svn-id: svn://busybox.net/trunk/busybox@2710 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix this case. No, really this time.andersen2001-05-222-92/+122
| | | | | | | | | | | | unset FOO export FOO=bar FOO=baz echo "global env: " `env | grep ^FOO` echo "local env: " `set | grep ^FOO` -Erik git-svn-id: svn://busybox.net/trunk/busybox@2709 69ca8d6d-28ef-0310-b511-8ec308f3f277