fli4l
  1. fli4l

busybox

Public
AuthorCommitMessageCommit dateIssues
Eric AndersenEric Andersen
e0c0757d092These were broken when using dmalloc due to include file orderingproblems. busybox.h must be last. -Erik
Eric AndersenEric Andersen
d9c8acec373Leave BB_FEATURE_NFSMOUNT disabled by default. -Erik
Glenn L McGrathGlenn L McGrath
8f5b63edea1cpio applet, and changes to associated code
Eric AndersenEric Andersen
52a97ca00cfSome more cleanups. Of special importance, never free a pipethat still has running jobs. Instead, we ignore it and expect it to be cleaned by the background job stuff. -Erik
Eric AndersenEric Andersen
c798b077626Some cleanups for hush. Saves about 350bytes. -Erik
Matt KraaiMatt Kraai
a0105713e82Remove obsolete function declaration.
Eric AndersenEric Andersen
764303f9808stdlib.h defined free(), which this needs
Eric AndersenEric Andersen
30f1eafaaa1Fix the build process so it does not do the evil #ifdef BB_FOO stuff.Build exactly one .o file per function, and let the linker throw away the junk it doesn't want. -Erik
Eric AndersenEric Andersen
6b035044410Add in a missing header file
Glenn L McGrathGlenn L McGrath
76ce7549cecDont change date or chmod on symlinks, lchown on symlinks if lchown available
Glenn L McGrathGlenn L McGrath
9f832deecf0remove defines around unarchive, its always used
Tim RikerTim Riker
7387240ef08heh
Tim RikerTim Riker
837097648e8comment cleanup
Tim RikerTim Riker
fbbd360b3c6create_path -> make_directory
Eric AndersenEric Andersen
8071c021311Add wget -P support, finishing off bug #1176 -Erik
Matt KraaiMatt Kraai
ceeff738192Rewrote mkdir (and touched lots of things in the process).
Eric AndersenEric Andersen
091781e20ebSupport tar -C, per bug #1176 -Erik
Eric AndersenEric Andersen
8a646dd2933This commit guts lash, restoring it to what it was originally intended to do,just be a simple command line interpreter with basic pipe, redirect, and job control. For all the more fancy things, people should use hush or ash. -Erik
Eric AndersenEric Andersen
ea4abff5953Add in (and ignore) tar -p, since we preserver permissions automatically.closes bug #1185 -Erik
Matt KraaiMatt Kraai
075228a4615Remove documentation of unsupported sed options.
Matt KraaiMatt Kraai
02c40a72b87Always apply commands with no specified range.
Eric AndersenEric Andersen
fa2661f2e5aPer a suggestion from Tom Oehser, fix up the leading-hyphen hack tomake it general. Now all leading single hyphens are ignored for purposed of applet name matching, while argv[0] is still passed unaltered to applets, so leading-hyphen sensitive applets (such as sh) can react accordingly. -Erik
Eric AndersenEric Andersen
aff5e2eaef3it turs out, there was a nasty tar bug where bb tar would create leading dirswith mode 0777 in all cases due to usask issues. Thanks to Matt Kraai for noticing and spotting the culprit. This makes bb tar behave just like GNU tar once again. -Erik
Glenn L McGrathGlenn L McGrath
06a71cced28Initialise in_file to stdin, so it wont crash if no source specified
Glenn L McGrathGlenn L McGrath
8e74bf94f36Changed gz_open to ruturn a stream
Glenn L McGrathGlenn L McGrath
eb1c94078f3Reorganise unarchiving functions, more code re-use, only does single pass(no 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
Eric AndersenEric Andersen
b4a26e6fc09For m68k, use __mc68000__ (not __m68k__ ), since that is what thevarious m68k compilers seem to actually use... -Erik
Mark WhitleyMark Whitley
74c97cdba64Changed a hard-coded path to a variable defined path.
Eric AndersenEric Andersen
32574a41b4fWith a bit of care I was able to save about 100 bytes. -Erik
Mark WhitleyMark Whitley
bd4b621e910Applied patch from Jim Gleason that makes it so busybox will still work evenif you rename it.
Glenn L McGrathGlenn L McGrath
6bad1fa1fdfThis isnt used anymore, replaced by seek_sub_file() in ./libbb/deb_extract.c
Eric AndersenEric Andersen
f429baca868I reworked make_human_readable_str so it now has a sane interface,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
Glenn L McGrathGlenn L McGrath
17822cd60aaReorganise unarchive functions, new files, removed some
Glenn L McGrathGlenn L McGrath
9aff9036035Reorganise archive extraction code
Eric AndersenEric Andersen
dab3d46b9d3A patch from Benjamin Zeckel <bzeckel@cisco.com> to allownslookup.c to display the correct default nameservers.
Eric AndersenEric Andersen
583e3ca4560Add in Devil-Linux
Matt KraaiMatt Kraai
7bd773c9fe1Only use a login shell when it will run on a console.
Mark WhitleyMark Whitley
0915c4b9853 - Fixed bug where you couldn't mix line number and regexes in two-address cmds - 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
Matt KraaiMatt Kraai
bf0a010cf70Copy files until EOF, not the reported file size, to deal with bad sizes inthe proc filesystem.
Matt KraaiMatt Kraai
5246225596aAdd padding to struct sysinfo needed by m68k (note and patch by RichardHirst).
Eric AndersenEric Andersen
04407e522b4Another hush update from Larry: 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.
Eric AndersenEric Andersen
4f3e24979bfAdd the Linux Terminal Server Project
Eric AndersenEric Andersen
817e73cb632A patch from Larry to fix pathological things like '>""'
Matt KraaiMatt Kraai
12422ffe3ebAdded a new testcase from Larry Doolittle (inspired by a note from VadimBerkgaut).
Matt KraaiMatt Kraai
c616e53ca2dDon't close file descriptors when we are duplicating them.
Eric AndersenEric Andersen
f4dd6e3d1a4Do not purge the .cvsignore files on 'make release' so thatpeople can properly import into their own CVS trees. -Erik
Eric AndersenEric Andersen
cb2a372c9f7Revert the patch from Konstantin Boldyshev <konst@linuxassembly.org> to neverchange 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
Matt KraaiMatt Kraai
67a46403334Loop forever instead of exiting.
Glenn L McGrathGlenn L McGrath
62ebe2e443cRemove space between ar options
Glenn L McGrathGlenn L McGrath
cda5cf1c2f2Correct ar options