fli4l
  1. fli4l

busybox

Public
  1. fli4l
  2. busybox

All Branches Graph

        
AuthorCommitMessageCommit dateBuilds
Matt KraaiMatt Kraai
e6bf66eada0Fix two bugs reported by Ralph Jones.
Eric AndersenEric Andersen
b0aca921bebA todo update from larry to acknowledge the existance of hush
Eric AndersenEric Andersen
87d893c04bcdevfs does not support creation of regular files. So change the test a bit so as to not possibly create a regular fi...
Matt KraaiMatt Kraai
6689140597dRemove summary header. Not present in GNU or SUSv2.
Matt KraaiMatt Kraai
80abc45182fMove up waitpid error check so that errno isn't clobbered by tcsetpgrp.
Matt KraaiMatt Kraai
adcbc12d85bCanonicalize path before trying to unmount it.
Matt KraaiMatt Kraai
3425111bb99Fix bug #1108 by always canonicalizing arguments.
Eric AndersenEric Andersen
0fcd447d59fSome more job control updates. It will now sucessfully background stuff. Good luck getting things back into the for...
Matt KraaiMatt Kraai
20a3069ec0dDon't treat newline as pipe separator when processing substitutions.
Eric AndersenEric Andersen
19ec9ee91e2Use .png for images (removing all .gifs) and make them all 90x36 -Erik
Matt KraaiMatt Kraai
9f8caf134fcFix $(...) construction. Noted and patched by Larry Doolittle <ldoolitt@recycle.lbl.gov>. I'm just a patch whore. :)
Eric AndersenEric Andersen
bafd94f154dFirst pass at getting job control working. This gets the infrastructure in place, but something is still missing/wro...
Matt KraaiMatt Kraai
1c8a59ab95dUse the current pgrp, not pid, when resetting the foreground process group. Fixes bizarre suspension when executing `...
Matt KraaiMatt Kraai
f162e7d09d4Don't segfault if the first word is the empty string.
Eric AndersenEric Andersen
e67c3ce3273Another update from Larry: Makes hush return code equal to that of the last command executed. Fixes the mode ...
Matt KraaiMatt Kraai
e0244b06428Skip headers with empty filenames, rather than stopping.
Eric AndersenEric Andersen
b9f5b823399Another refinement, this time from Larry.
Eric AndersenEric Andersen
6d553ef200bArgh. Now we break non-pristine builds. Check a bit more carefully. -Erik
Eric AndersenEric Andersen
abde0659350Oops. The dangers of applying patches by hand...
Eric AndersenEric Andersen
4ed5e37d4b6Another hush update from Larry: Minor improvements. Something is still broken with running scripts via "hus...
Eric AndersenEric Andersen
3f99b567b85A patch from Larry to fix pristine source builds (again). I just can't seem to _not_ break it. Sigh.
Eric AndersenEric Andersen
aac75e5a781Some more hush.c updates from Larry Doolittle.
Eric AndersenEric Andersen
0e9aef36fa5Oops. I was a bit too hasty and also changed applet_name.
Mark WhitleyMark Whitley
8a633268ef4Made new xreadlink function for libbb and changed applets to use it instead of readlink(2).
Eric AndersenEric Andersen
6f343944548These messages can be .rodata, so make them even more const. -Erik
Eric AndersenEric Andersen
65504ac12cdThese do not need initial values. Let them live in the bss. -Erik
Eric AndersenEric Andersen
defa4f93c2bPer suggestion by Matt, make sh.c a real target. There is no need for the useless sh_link dummy target -- use the re...
Matt KraaiMatt Kraai
218aa370b48Fix user permissions of copied directories.
Matt KraaiMatt Kraai
43ca13714b4Simplify permission handling for FIFOs.
Matt KraaiMatt Kraai
24abecc3490Fix exit status when there is an error copying a file.
Glenn L McGrathGlenn L McGrath
af166e7ce0cLogic reversal for last_char_is
David KimdonDavid Kimdon
2bf4dad7ec7fix to applet_source_list rule so Debian package continues to build
Eric AndersenEric Andersen
07e462fd6deMatt was complaining. Hopefully this helps the sh.c link situation
Matt KraaiMatt Kraai
72ab975a6b9Terminate source correctly when copying symlink. Report and patch by Brian Webb <webbb@desertscenes.net>.
Eric AndersenEric Andersen
088875fec49Use BUFSIZ for the_command to match size used in cmdedit
Eric AndersenEric Andersen
af44a0e8f45An update to hush from Larry: It should recover more smoothly from syntax errors, and it now has a decent gue...
Eric AndersenEric Andersen
0081466925eBe a bit more sneaky about the sh.c symlink so you don't need to do a mke clean for it to happen. -Erik
Eric AndersenEric Andersen
0f9426edb0eIgnore some generated files
Eric AndersenEric Andersen
25f2703015bThis is the initial checkin of Larry Doolittle's hush.c, using his April 25, 2001 snapshot, adjusted a bit by me so i...
Eric AndersenEric Andersen
a1dbc224695Disable lash -Erik
Eric AndersenEric Andersen
924ab5b7d37These days busybox.pod is autogenerated, so it should be removed from CVS.
Eric AndersenEric Andersen
7f3b86e7bf6A fix from Larry for a corner case where insmod could end up doing an xrealloc(0).
Matt KraaiMatt Kraai
6aabfd5e300Fix handling of permission addition and removal (e.g., o-r).
Eric AndersenEric Andersen
ca85cdbe4c4Doh. I never allocated storate for the struct stat I am using. There was just a never initialized pointer. -Erik
Matt KraaiMatt Kraai
468f504fd79Fix handling of -R flag.
Eric AndersenEric Andersen
c1bdffe99b6Another nice cleanup from Larry. This adds a new last_char_is() function and uses it to avoid possible buffer underr...
Eric AndersenEric Andersen
3c3277f0bdaAs Larry pointed out, this the off by one canbe fixed much more elegantly.
Eric AndersenEric Andersen
30592a54514Fix a silly off-by-one error noticed by Santiago Garcia Mantinan <manty@debian.org> -Erik
Mark WhitleyMark Whitley
e55987896a7Applied patch from Larry Doolittle to fix pristine build breakage.
Mark WhitleyMark Whitley
2789906aad2Removed obsoleted BB_FEATURE_RM_INTERACTIVE
Mark WhitleyMark Whitley
207587a9b4dApplied patch from I.Q. to add -s to cmp.
Mark WhitleyMark Whitley
c29c44c00e8libbb.h now includes ../busybox.h. This way, files in libbb that have BB_[FEATURE] #defines won't be ignored. Credit ...
Eric AndersenEric Andersen
4f4bcfcd1a3Some more cleanups for insmod from Larry. -Erik
Eric AndersenEric Andersen
c57a75d8964Larry noticed that chown and chgrp has the version numbers off a bit for glibc's lchown support. Thanks Larry.
Mark WhitleyMark Whitley
4b541a88174Moved some #ifdefs down below #include "busybox.h" where they belong.
Mark WhitleyMark Whitley
67d7fe66e75Sync'ed up the olympus section between this and stock Config.h
Mark WhitleyMark Whitley
4f3558af177Fixed a BB_MTAB #define buglet reported by Magnus Damm.
Eric AndersenEric Andersen
04095e58fb4Move messages.c to libbb. Make each string in messages.c be its own .o file. This way, we can new get rid of all tha...
Eric AndersenEric Andersen
36763749158Cleanup more carefully after pod2html
Eric AndersenEric Andersen
f227815c3acSeveral cleanups from Larry.
Matt KraaiMatt Kraai
8810bdbba35Rewrote rm.
Eric AndersenEric Andersen
9f0fedb8f69Split up chmod_chown_chgrp.c into 3 separate apps. This unfortunately adds 384 bytes to the overall size. But havin...
Matt KraaiMatt Kraai
3a4aef5a4c1Update applet define from BB_CP_MV to BB_CP and BB_MV.
Matt KraaiMatt Kraai
01441036e97Use generic flag names.
Matt KraaiMatt Kraai
9ff9325e60eMove applet_name declaration from busybox.h to libbb.h.
Mark WhitleyMark Whitley
af030496faeApplied patch from Larry Doolittle to remove some strlen calls, and add one paranoia check to avoid buffer underrun...
Matt KraaiMatt Kraai
de1b2629425Remove file obsoleted by cp/mv rewrite.
Matt KraaiMatt Kraai
91b2855ba8bRewrite cp and mv to be SUSv2 compliant.
Mark WhitleyMark Whitley
4e9267d76c7Reversed last patch; unnecessary.
Mark WhitleyMark Whitley
4b66dabc76aAdded a sanity check to fix weird bug exposed when sourcing in commands from a file with lash. Based on report from H...
Matt KraaiMatt Kraai
8a24a65d2f9Change link order so that libbb functions use libpwd.a when appropriate.
Eric AndersenEric Andersen
ed424dbf1d3Some patches from Gennady Feldman. Fixed a glob problem such that 'ls *.h Config.h' works. Fixed a silly typo with ...
Eric AndersenEric Andersen
d8862928c25A patch from Marc Karasek and Kanoj (kernel serial.c maintainer) so init will work on serial consoles with 2.4.3+ ker...
Glenn L McGrathGlenn L McGrath
f5c358bc983Simplify file_prefix handling, and use of *dir variable.
Matt KraaiMatt Kraai
782ab3ccf85Simplify pathname building, in which a bug was noted by Larry Doolittle, a patch was provided by Vladimir Oleynik, an...
Glenn L McGrathGlenn L McGrath
ee0d93ed04bFix horrible, horrible memmory leak. I wondered why processes were dying !
Glenn L McGrathGlenn L McGrath
89dc02d9448Clearly define out exclude list code, as recommended by Larry Doolittle
Mark WhitleyMark Whitley
56c14a64735Fixed a buglet where an extra newline was being added after an insert command in some cases.
Mark WhitleyMark Whitley
497ef465875Made a correction to a bad test expression. Props to Larry Doolittle for spotting this one.
Mark WhitleyMark Whitley
3e310ac309aApplied patch from Larry Doolittle to give users the third option of putting buffers in BSS (in addition to stack and...
Glenn L McGrathGlenn L McGrath
6ebd6338293Set permissions of created file
Eric AndersenEric Andersen
46cd74b9e3bThis has two patches. First it moves interface.c to libbb (it is support code after all). It also contains a patch ...
Matt KraaiMatt Kraai
3ce79338e66Fix buffer underrun noted and solved by Larry Doolittle.
Eric AndersenEric Andersen
0a3bda2c53cMove real_loop.h to libbb, where it belongs. -Erik
Eric AndersenEric Andersen
b5ec61e4f53Add types for the inline funcs, thanks to Ralph Siemsen <ralphs@netwinder.org>
Matt KraaiMatt Kraai
53265546a69Eliminate spurious warning, convert to getopt, and eliminate redundant check.
Matt KraaiMatt Kraai
96dcd19b8a8Fix a number of problems with argument handling.
Matt KraaiMatt Kraai
54652230d4fEliminate a segfault when called on an existing file with out an extension: touch foo && gunzip foo
Matt KraaiMatt Kraai
b181056e069Eliminated seeks so that we work correctly on pipes, and removed reliance on undefined evaluation ordering. Thanks t...
Glenn L McGrathGlenn L McGrath
bcfeb2ac44aFix zcat/gunzip when reading from stdin
John BeppuJohn Beppu
2771d1a574d- updated busybox_header.pod by adding adjtimex to the list. - a new busybox.pod that reflects my fixes, and todays p...
Mark WhitleyMark Whitley
fccaa3629b8Applied patch from I.Q. to add sort -u as a feature.
Mark WhitleyMark Whitley
6e808ca3541Changed line[strlen(line) - 1] = '\0'; to chomp(line);
Mark WhitleyMark Whitley
30ac01cca75Applied a patch from Laurence Anderson to fix the wget statusbar and a patch to usage.h to document the -q option.
Mark WhitleyMark Whitley
3828dbed57fApplied patch from I.Q. to fix problem with sort -n.
Mark WhitleyMark Whitley
31868b85be4Added some help messages.
Mark WhitleyMark Whitley
59a86cad676The tiniest of bracket-placement fixes.
John BeppuJohn Beppu
5d81768cf13- usage.h o echo_example_usage needed to escape some backslashes in an inner quote o find_full_usage miss...
Matt KraaiMatt Kraai
a3045dfd258Convert mount to use getopt.
Matt KraaiMatt Kraai
1240082e37dFurther cleanup of mount option handling.
Matt KraaiMatt Kraai
24ed3bee0c4Fix -a support (broken by previous patch).
Matt KraaiMatt Kraai
3d406da0c90Fix segfault on `mount -t nfs' reported by Gratien D'haese.
Eric AndersenEric Andersen
1c0d311ff43Several fixes from Sterling Huxley for the vi applet.
Glenn L McGrathGlenn L McGrath
ae1c704c445Write full status file
Glenn L McGrathGlenn L McGrath
33431ebb9acdpkg improvements, use full package struct, avoid extracting to tmp dir, rename variable. deb_extract, untar and dpkg...
Glenn L McGrathGlenn L McGrath
3136904ff69Document new dpkg-deb funtions
Glenn L McGrathGlenn L McGrath
685f5fd6f47untar changed to allow deb_extract to extract to memory, allows better operation of dpkg-deb -f
Glenn L McGrathGlenn L McGrath
a529d885d2aNEw functions read_package_field and read_text_file_to_buffer
Glenn L McGrathGlenn L McGrath
5faef74bae3Reads a field from a debian control (status or available) file, handles multi-line fields.
Glenn L McGrathGlenn L McGrath
65708e4cd1bRead a FILE* till an empty line or eof and return it as a char buffer. In future maybe add char *end_str to interface...
Eric AndersenEric Andersen
4a2e4635253Handle endian-ness. Patch from Paul J.Y. Lahaie <pjlahaie@linuxcare.com> -Erik
Matt KraaiMatt Kraai
0f50bca9aaaFix infinite loop and reallocate if too many modules.
Glenn L McGrathGlenn L McGrath
445fb952b8bdpkg-deb -f and partial -I commands, adds 600 bytes
Matt KraaiMatt Kraai
1e04ea388f5Fix dos2unix/tr problem noted by Larry Doolittle.
Matt KraaiMatt Kraai
d6cde0bcf43Fix return code and don't output spurious newlines.
Matt KraaiMatt Kraai
4ef40c02f42Another banner consolidation from Larry Doolittle <ldoolitt@recycle.lbl.gov>.
Matt KraaiMatt Kraai
8fc364ebd55Fix comment.
Matt KraaiMatt Kraai
6ba1a80c260Use date -u instead of date --utc and consolidate version string. Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>.
Glenn L McGrathGlenn L McGrath
5a65413c042Updates, fixes for handling contents, verbose extract. More updates to come
Glenn L McGrathGlenn L McGrath
47fd219c956Rename variable that shadows global
Matt KraaiMatt Kraai
be66ad3212eFix handling of '' and "".
Glenn L McGrathGlenn L McGrath
3e2ab88ee2eNew dpkg-deb function -t, stands for --fsys-tarfile
Glenn L McGrathGlenn L McGrath
c9cac5be236Change size to unsinged long long, so if -1 is passed it will read as much as possible.
Glenn L McGrathGlenn L McGrath
6785b51280ddpkg-deb -c works now
Glenn L McGrathGlenn L McGrath
359c1068719Fix dpkg-deb, enum's are cool
Glenn L McGrathGlenn L McGrath
46079a1d779remove unused clearerr statements
Glenn L McGrathGlenn L McGrath
327175137f4This belongs in dos2unix.c
Glenn L McGrathGlenn L McGrath
a6ce670a87euse tmpfile() and revert my previous changes... convert() belongs here
Glenn L McGrathGlenn L McGrath
2709297f3bados2unix and unix2dos are now independent
Glenn L McGrathGlenn L McGrath
50b787cac5eMove convert to libbb
Glenn L McGrathGlenn L McGrath
a283157c383convert() is used by dos2unix and unix2dos
Glenn L McGrathGlenn L McGrath
c8d9e0604a7Moved from dos2unix
Matt KraaiMatt Kraai
da160c0da5bUse putc, and write to stderr as the rest of the progressmeter does.
Matt KraaiMatt Kraai
90d7f696d65Only finish with a newline if we are displaying the progress indicator.
Matt KraaiMatt Kraai
65317ea27fdFix behavior when extracting to stdout. Report and patch by Evin Robertson <nitfol@my-deja.com>.
Glenn L McGrathGlenn L McGrath
ed897e54150Vladimir's patch to reverse previous patch
Glenn L McGrathGlenn L McGrath
2975a34f239readTarFile changed from exter nto static
Glenn L McGrathGlenn L McGrath
b3f23d4c6a3Seek to start of an entry inside an ar file
Glenn L McGrathGlenn L McGrath
988be100e24dpkg, dpkg_deb dont depend on any other applets now
Glenn L McGrathGlenn L McGrath
4949faf4b20copy_file_chunk uses streams now.
Glenn L McGrathGlenn L McGrath
5b20d02ea98This is primarily to allow deb_extract to be independent of the tar applet. TODO: This function and its conterpart in...
Glenn L McGrathGlenn L McGrath
9e966ffed4eRemove unneeded printf statment
Glenn L McGrathGlenn L McGrath
f70f6cef393Disable sigterm
Glenn L McGrathGlenn L McGrath
48081f81bdareplace getOctal with strtol( , NULL, 8) saves 100 Bytes
Glenn L McGrathGlenn L McGrath
7dc8d227a57dpkg only dependeds on tar
Glenn L McGrathGlenn L McGrath
528ef50a4a4Gzip is indepenedent of gunzip
Glenn L McGrathGlenn L McGrath
a12131966c5Remove dpkg-deb applet dependencies, still depends on tar
Glenn L McGrathGlenn L McGrath
7fd92949d0dMove unzip, gz_open, gz_close to libbb
Glenn L McGrathGlenn L McGrath
d22e560ad6aMove deb_extract() to libbb, dpkg now independent of dpkg-deb
Glenn L McGrathGlenn L McGrath
9d53c8ab74eMove get_ar_headers to libbb, make dpkg_deb.c independent of ar.c
Eric AndersenEric Andersen
93ffa950bfdPut in a paragraph break
Mark WhitleyMark Whitley
efcfe874eaeAdded a chart of busybox's growth by Larry Doolittle and put a news announcement for it on the main page.
Eric AndersenEric Andersen
0958093be6cDoc update for the 0.51 release. -Erik
Eric AndersenEric Andersen
3c3430502a9Fix up changelog for 0.51 release
Eric AndersenEric Andersen
b04d744a473Bring Debian config files into sync with the master one.
Eric AndersenEric Andersen
e703f7ed420Ha. Regression testing found a bug with uClibc support. Fixed. -Erik
Eric AndersenEric Andersen
b9af8942645Fix up the uClibc compiler name (its format was recently changed slightly)
Eric AndersenEric Andersen
6d7fa438a7dThis patch from Laurence Anderson <laurence@zxmail.com> fixes wget HTTP 1.1 support and addes chunked encoding so bb ...
Eric AndersenEric Andersen
fd402941a76Patch from Valdimir to reduce stack usage, since recursive_action is (as the name implies) is recursive, reducing sta...
Matt KraaiMatt Kraai
4e853560f5cFix double quote handling.
Eric AndersenEric Andersen
2f2da90fd45"I will always compile before I commit" x 100
Eric AndersenEric Andersen
b6b519b4161Update how we detect if libc5 is in use. -Erik
Matt KraaiMatt Kraai
d3f97f19718Fix warning generated by pod2html about unterminated list.
Eric AndersenEric Andersen
303dd28bb01Make 'grep -l' work
Mark WhitleyMark Whitley
4391a16c92cFixed option parsing. Grep would continue grepping, even when given a bad / invalid option. Closes bug #1146.
Eric AndersenEric Andersen
e5dfced23a9Apply Vladimir's latest cleanup patch. -Erik
Eric AndersenEric Andersen
a75e2867435Bump version number to 0.51
Eric AndersenEric Andersen
59aa5703ae2Enable freeramdisk and pivot_root, disable lash for the Debian .udeb -Erik
Eric AndersenEric Andersen
fc994d1cb45make sure we auto-close debian bug #91758 -Erik
Eric AndersenEric Andersen
7cf9fed83f6update the changelog, prepatory to the 0.51 release. Please review for correctness! -Erik
Eric AndersenEric Andersen
3f8688b406fUpdate changelog
Eric AndersenEric Andersen
5d6f3440e6ause 'USE_SYSTEM_PWD_GRP=false' for the Debian packages so the boot-floppies do not need any of the nss crap installed...
Glenn L McGrathGlenn L McGrath
305fdfa755cReorganise status field to use 3 chars instead of one bit shifted long int. Generates status file properly now, not c...
Glenn L McGrathGlenn L McGrath
37849f3320eUse create_path instead of mkdir
Glenn L McGrathGlenn L McGrath
13e9c7ad824It now correctly backs up the (still corrupt) status file
Glenn L McGrathGlenn L McGrath
0e757a2f3f1Some fixes, but still broken... (cont) Make better use of some libbb functions New remove dir code to avoid depending...
Glenn L McGrathGlenn L McGrath
f608da42883Ignore SIGTERM prior to gz_close()
Glenn L McGrathGlenn L McGrath
e5f39576650Fix warning
Eric AndersenEric Andersen
8a9b2c6448eNote that insmod now also supports powerpc and mips. Thanks Larry.
Eric AndersenEric Andersen
aa21e0f9133An optimization from Vladimir
Eric AndersenEric Andersen
250a2217681more FILE_OFFSET_BITS == 64 adjustments.
Eric AndersenEric Andersen
83f173b61ecA first pass at making D_FILE_OFFSET_BITS=64 work, from Jari Ruusu <jari.ruusu@pp.inet.fi>
Eric AndersenEric Andersen
c270ec1fa27Add support of /W prompts -Erik
Eric AndersenEric Andersen
831ed16efcaHandle glibc 2.0.7 as well
Eric AndersenEric Andersen
79757c9c37bA patch from Dmitry Zakharov <dmit@crp.bank.gov.ua> which adds - support for ftp downloads - HTTP basic authenticatio...
Eric AndersenEric Andersen
ea9065072c9Some cleanups/fixes for the syslogd circular buffer code from Gennady Feldman.
John BeppuJohn Beppu
79359d87e86- autodocifier.pl :: continuation() was modified such that '#' is handled correctly.
John BeppuJohn Beppu
94e505485e7- use docs/autodocifier.pl to merge POD together