Matt Kraai | e6bf66eada0 | Fix two bugs reported by Ralph Jones. | | |
Eric Andersen | b0aca921beb | A todo update from larry to acknowledge the existance of hush | | |
Eric Andersen | 87d893c04bc | devfs does not support creation of regular files. So change the
test a bit so as to not possibly create a regular fi... | | |
Matt Kraai | 6689140597d | Remove summary header. Not present in GNU or SUSv2. | | |
Matt Kraai | 80abc45182f | Move up waitpid error check so that errno isn't clobbered by tcsetpgrp. | | |
Matt Kraai | adcbc12d85b | Canonicalize path before trying to unmount it. | | |
Matt Kraai | 3425111bb99 | Fix bug #1108 by always canonicalizing arguments. | | |
Eric Andersen | 0fcd447d59f | Some more job control updates. It will now sucessfully background
stuff. Good luck getting things back into the for... | | |
Matt Kraai | 20a3069ec0d | Don't treat newline as pipe separator when processing substitutions. | | |
Eric Andersen | 19ec9ee91e2 | Use .png for images (removing all .gifs) and make them all 90x36
-Erik | | |
Matt Kraai | 9f8caf134fc | Fix $(...) construction. Noted and patched by Larry Doolittle
<ldoolitt@recycle.lbl.gov>. I'm just a patch whore. :) | | |
Eric Andersen | bafd94f154d | First pass at getting job control working. This gets the infrastructure
in place, but something is still missing/wro... | | |
Matt Kraai | 1c8a59ab95d | Use the current pgrp, not pid, when resetting the foreground process group.
Fixes bizarre suspension when executing `... | | |
Matt Kraai | f162e7d09d4 | Don't segfault if the first word is the empty string. | | |
Eric Andersen | e67c3ce3273 | Another update from Larry:
Makes hush return code equal to that of the last command executed.
Fixes the mode ... | | |
Matt Kraai | e0244b06428 | Skip headers with empty filenames, rather than stopping. | | |
Eric Andersen | b9f5b823399 | Another refinement, this time from Larry. | | |
Eric Andersen | 6d553ef200b | Argh. Now we break non-pristine builds. Check a bit more carefully.
-Erik | | |
Eric Andersen | abde0659350 | Oops. The dangers of applying patches by hand... | | |
Eric Andersen | 4ed5e37d4b6 | Another hush update from Larry:
Minor improvements. Something is still broken with running
scripts via "hus... | | |
Eric Andersen | 3f99b567b85 | A patch from Larry to fix pristine source builds (again).
I just can't seem to _not_ break it. Sigh. | | |
Eric Andersen | aac75e5a781 | Some more hush.c updates from Larry Doolittle. | | |
Eric Andersen | 0e9aef36fa5 | Oops. I was a bit too hasty and also changed applet_name. | | |
Mark Whitley | 8a633268ef4 | Made new xreadlink function for libbb and changed applets to use it instead of
readlink(2). | | |
Eric Andersen | 6f343944548 | These messages can be .rodata, so make them even more const.
-Erik | | |
Eric Andersen | 65504ac12cd | These do not need initial values. Let them live in the bss.
-Erik | | |
Eric Andersen | defa4f93c2b | Per suggestion by Matt, make sh.c a real target. There is no
need for the useless sh_link dummy target -- use the re... | | |
Matt Kraai | 218aa370b48 | Fix user permissions of copied directories. | | |
Matt Kraai | 43ca13714b4 | Simplify permission handling for FIFOs. | | |
Matt Kraai | 24abecc3490 | Fix exit status when there is an error copying a file. | | |
Glenn L McGrath | af166e7ce0c | Logic reversal for last_char_is | | |
David Kimdon | 2bf4dad7ec7 | fix to applet_source_list rule so Debian package continues to build | | |
Eric Andersen | 07e462fd6de | Matt was complaining. Hopefully this helps the sh.c link situation | | |
Matt Kraai | 72ab975a6b9 | Terminate source correctly when copying symlink. Report and patch by
Brian Webb <webbb@desertscenes.net>. | | |
Eric Andersen | 088875fec49 | Use BUFSIZ for the_command to match size used in cmdedit | | |
Eric Andersen | af44a0e8f45 | An update to hush from Larry:
It should recover more smoothly from syntax errors, and it now
has a decent gue... | | |
Eric Andersen | 0081466925e | Be 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 Andersen | 0f9426edb0e | Ignore some generated files | | |
Eric Andersen | 25f2703015b | This is the initial checkin of Larry Doolittle's hush.c, using his
April 25, 2001 snapshot, adjusted a bit by me so i... | | |
Eric Andersen | a1dbc224695 | Disable lash
-Erik | | |
Eric Andersen | 924ab5b7d37 | These days busybox.pod is autogenerated, so it should be removed
from CVS. | | |
Eric Andersen | 7f3b86e7bf6 | A fix from Larry for a corner case where insmod could end up
doing an xrealloc(0). | | |
Matt Kraai | 6aabfd5e300 | Fix handling of permission addition and removal (e.g., o-r). | | |
Eric Andersen | ca85cdbe4c4 | Doh. I never allocated storate for the struct stat I am using.
There was just a never initialized pointer.
-Erik | | |
Matt Kraai | 468f504fd79 | Fix handling of -R flag. | | |
Eric Andersen | c1bdffe99b6 | Another nice cleanup from Larry. This adds a new last_char_is() function and
uses it to avoid possible buffer underr... | | |
Eric Andersen | 3c3277f0bda | As Larry pointed out, this the off by one canbe fixed much more elegantly. | | |
Eric Andersen | 30592a54514 | Fix a silly off-by-one error noticed by Santiago Garcia Mantinan <manty@debian.org>
-Erik | | |
Mark Whitley | e55987896a7 | Applied patch from Larry Doolittle to fix pristine build breakage. | | |
Mark Whitley | 2789906aad2 | Removed obsoleted BB_FEATURE_RM_INTERACTIVE | | |
Mark Whitley | 207587a9b4d | Applied patch from I.Q. to add -s to cmp. | | |
Mark Whitley | c29c44c00e8 | libbb.h now includes ../busybox.h. This way, files in libbb that have
BB_[FEATURE] #defines won't be ignored. Credit ... | | |
Eric Andersen | 4f4bcfcd1a3 | Some more cleanups for insmod from Larry.
-Erik | | |
Eric Andersen | c57a75d8964 | Larry noticed that chown and chgrp has the version numbers off a bit
for glibc's lchown support. Thanks Larry. | | |
Mark Whitley | 4b541a88174 | Moved some #ifdefs down below #include "busybox.h" where they belong. | | |
Mark Whitley | 67d7fe66e75 | Sync'ed up the olympus section between this and stock Config.h | | |
Mark Whitley | 4f3558af177 | Fixed a BB_MTAB #define buglet reported by Magnus Damm. | | |
Eric Andersen | 04095e58fb4 | Move 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 Andersen | 36763749158 | Cleanup more carefully after pod2html | | |
Eric Andersen | f227815c3ac | Several cleanups from Larry. | | |
Matt Kraai | 8810bdbba35 | Rewrote rm. | | |
Eric Andersen | 9f0fedb8f69 | Split up chmod_chown_chgrp.c into 3 separate apps. This unfortunately
adds 384 bytes to the overall size. But havin... | | |
Matt Kraai | 3a4aef5a4c1 | Update applet define from BB_CP_MV to BB_CP and BB_MV. | | |
Matt Kraai | 01441036e97 | Use generic flag names. | | |
Matt Kraai | 9ff9325e60e | Move applet_name declaration from busybox.h to libbb.h. | | |
Mark Whitley | af030496fae | Applied patch from Larry Doolittle to remove some strlen calls, and add one
paranoia check to avoid buffer underrun... | | |
Matt Kraai | de1b2629425 | Remove file obsoleted by cp/mv rewrite. | | |
Matt Kraai | 91b2855ba8b | Rewrite cp and mv to be SUSv2 compliant. | | |
Mark Whitley | 4e9267d76c7 | Reversed last patch; unnecessary. | | |
Mark Whitley | 4b66dabc76a | Added a sanity check to fix weird bug exposed when sourcing in commands from a
file with lash. Based on report from H... | | |
Matt Kraai | 8a24a65d2f9 | Change link order so that libbb functions use libpwd.a when appropriate. | | |
Eric Andersen | ed424dbf1d3 | Some patches from Gennady Feldman. Fixed a glob problem such that
'ls *.h Config.h' works. Fixed a silly typo with ... | | |
Eric Andersen | d8862928c25 | A patch from Marc Karasek and Kanoj (kernel serial.c maintainer)
so init will work on serial consoles with 2.4.3+ ker... | | |
Glenn L McGrath | f5c358bc983 | Simplify file_prefix handling, and use of *dir variable. | | |
Matt Kraai | 782ab3ccf85 | Simplify pathname building, in which a bug was noted by Larry Doolittle,
a patch was provided by Vladimir Oleynik, an... | | |
Glenn L McGrath | ee0d93ed04b | Fix horrible, horrible memmory leak. I wondered why processes were dying ! | | |
Glenn L McGrath | 89dc02d9448 | Clearly define out exclude list code, as recommended by Larry Doolittle | | |
Mark Whitley | 56c14a64735 | Fixed a buglet where an extra newline was being added after an insert command
in some cases. | | |
Mark Whitley | 497ef465875 | Made a correction to a bad test expression. Props to Larry Doolittle for
spotting this one. | | |
Mark Whitley | 3e310ac309a | Applied patch from Larry Doolittle to give users the third option of putting
buffers in BSS (in addition to stack and... | | |
Glenn L McGrath | 6ebd6338293 | Set permissions of created file | | |
Eric Andersen | 46cd74b9e3b | This has two patches. First it moves interface.c to libbb (it is
support code after all). It also contains a patch ... | | |
Matt Kraai | 3ce79338e66 | Fix buffer underrun noted and solved by Larry Doolittle. | | |
Eric Andersen | 0a3bda2c53c | Move real_loop.h to libbb, where it belongs.
-Erik | | |
Eric Andersen | b5ec61e4f53 | Add types for the inline funcs, thanks to Ralph Siemsen <ralphs@netwinder.org> | | |
Matt Kraai | 53265546a69 | Eliminate spurious warning, convert to getopt, and eliminate redundant check. | | |
Matt Kraai | 96dcd19b8a8 | Fix a number of problems with argument handling. | | |
Matt Kraai | 54652230d4f | Eliminate a segfault when called on an existing file with out an extension:
touch foo && gunzip foo | | |
Matt Kraai | b181056e069 | Eliminated seeks so that we work correctly on pipes, and removed reliance on
undefined evaluation ordering. Thanks t... | | |
Glenn L McGrath | bcfeb2ac44a | Fix zcat/gunzip when reading from stdin | | |
John Beppu | 2771d1a574d | - updated busybox_header.pod by adding adjtimex to the list.
- a new busybox.pod that reflects my fixes, and todays p... | | |
Mark Whitley | fccaa3629b8 | Applied patch from I.Q. to add sort -u as a feature. | | |
Mark Whitley | 6e808ca3541 | Changed line[strlen(line) - 1] = '\0'; to chomp(line); | | |
Mark Whitley | 30ac01cca75 | Applied a patch from Laurence Anderson to fix the wget statusbar and a patch
to usage.h to document the -q option. | | |
Mark Whitley | 3828dbed57f | Applied patch from I.Q. to fix problem with sort -n. | | |
Mark Whitley | 31868b85be4 | Added some help messages. | | |
Mark Whitley | 59a86cad676 | The tiniest of bracket-placement fixes. | | |
John Beppu | 5d81768cf13 | - usage.h
o echo_example_usage
needed to escape some backslashes in an inner quote
o find_full_usage
miss... | | |
Matt Kraai | a3045dfd258 | Convert mount to use getopt. | | |
Matt Kraai | 1240082e37d | Further cleanup of mount option handling. | | |
Matt Kraai | 24ed3bee0c4 | Fix -a support (broken by previous patch). | | |
Matt Kraai | 3d406da0c90 | Fix segfault on `mount -t nfs' reported by Gratien D'haese. | | |
Eric Andersen | 1c0d311ff43 | Several fixes from Sterling Huxley for the vi applet. | | |
Glenn L McGrath | ae1c704c445 | Write full status file | | |
Glenn L McGrath | 33431ebb9ac | dpkg improvements, use full package struct, avoid extracting to tmp dir, rename variable.
deb_extract, untar and dpkg... | | |
Glenn L McGrath | 3136904ff69 | Document new dpkg-deb funtions | | |
Glenn L McGrath | 685f5fd6f47 | untar changed to allow deb_extract to extract to memory, allows better operation of dpkg-deb -f | | |
Glenn L McGrath | a529d885d2a | NEw functions read_package_field and read_text_file_to_buffer | | |
Glenn L McGrath | 5faef74bae3 | Reads a field from a debian control (status or available) file, handles multi-line fields. | | |
Glenn L McGrath | 65708e4cd1b | Read 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 Andersen | 4a2e4635253 | Handle endian-ness. Patch from Paul J.Y. Lahaie <pjlahaie@linuxcare.com>
-Erik | | |
Matt Kraai | 0f50bca9aaa | Fix infinite loop and reallocate if too many modules. | | |
Glenn L McGrath | 445fb952b8b | dpkg-deb -f and partial -I commands, adds 600 bytes | | |
Matt Kraai | 1e04ea388f5 | Fix dos2unix/tr problem noted by Larry Doolittle. | | |
Matt Kraai | d6cde0bcf43 | Fix return code and don't output spurious newlines. | | |
Matt Kraai | 4ef40c02f42 | Another banner consolidation from Larry Doolittle <ldoolitt@recycle.lbl.gov>. | | |
Matt Kraai | 8fc364ebd55 | Fix comment. | | |
Matt Kraai | 6ba1a80c260 | Use date -u instead of date --utc and consolidate version string.
Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>. | | |
Glenn L McGrath | 5a65413c042 | Updates, fixes for handling contents, verbose extract.
More updates to come | | |
Glenn L McGrath | 47fd219c956 | Rename variable that shadows global | | |
Matt Kraai | be66ad3212e | Fix handling of '' and "". | | |
Glenn L McGrath | 3e2ab88ee2e | New dpkg-deb function -t, stands for --fsys-tarfile | | |
Glenn L McGrath | c9cac5be236 | Change size to unsinged long long, so if -1 is passed it will read as much as possible. | | |
Glenn L McGrath | 6785b51280d | dpkg-deb -c works now | | |
Glenn L McGrath | 359c1068719 | Fix dpkg-deb, enum's are cool | | |
Glenn L McGrath | 46079a1d779 | remove unused clearerr statements | | |
Glenn L McGrath | 327175137f4 | This belongs in dos2unix.c | | |
Glenn L McGrath | a6ce670a87e | use tmpfile() and revert my previous changes... convert() belongs here | | |
Glenn L McGrath | 2709297f3ba | dos2unix and unix2dos are now independent | | |
Glenn L McGrath | 50b787cac5e | Move convert to libbb | | |
Glenn L McGrath | a283157c383 | convert() is used by dos2unix and unix2dos | | |
Glenn L McGrath | c8d9e0604a7 | Moved from dos2unix | | |
Matt Kraai | da160c0da5b | Use putc, and write to stderr as the rest of the progressmeter does. | | |
Matt Kraai | 90d7f696d65 | Only finish with a newline if we are displaying the progress indicator. | | |
Matt Kraai | 65317ea27fd | Fix behavior when extracting to stdout. Report and patch by
Evin Robertson <nitfol@my-deja.com>. | | |
Glenn L McGrath | ed897e54150 | Vladimir's patch to reverse previous patch | | |
Glenn L McGrath | 2975a34f239 | readTarFile changed from exter nto static | | |
Glenn L McGrath | b3f23d4c6a3 | Seek to start of an entry inside an ar file | | |
Glenn L McGrath | 988be100e24 | dpkg, dpkg_deb dont depend on any other applets now | | |
Glenn L McGrath | 4949faf4b20 | copy_file_chunk uses streams now. | | |
Glenn L McGrath | 5b20d02ea98 | This is primarily to allow deb_extract to be independent of the tar applet.
TODO: This function and its conterpart in... | | |
Glenn L McGrath | 9e966ffed4e | Remove unneeded printf statment | | |
Glenn L McGrath | f70f6cef393 | Disable sigterm | | |
Glenn L McGrath | 48081f81bda | replace getOctal with strtol( , NULL, 8)
saves 100 Bytes | | |
Glenn L McGrath | 7dc8d227a57 | dpkg only dependeds on tar | | |
Glenn L McGrath | 528ef50a4a4 | Gzip is indepenedent of gunzip | | |
Glenn L McGrath | a12131966c5 | Remove dpkg-deb applet dependencies, still depends on tar | | |
Glenn L McGrath | 7fd92949d0d | Move unzip, gz_open, gz_close to libbb | | |
Glenn L McGrath | d22e560ad6a | Move deb_extract() to libbb, dpkg now independent of dpkg-deb | | |
Glenn L McGrath | 9d53c8ab74e | Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.c | | |
Eric Andersen | 93ffa950bfd | Put in a paragraph break | | |
Mark Whitley | efcfe874eae | Added a chart of busybox's growth by Larry Doolittle and put a news
announcement for it on the main page. | | |
Eric Andersen | 0958093be6c | Doc update for the 0.51 release.
-Erik | | |
Eric Andersen | 3c3430502a9 | Fix up changelog for 0.51 release | | |
Eric Andersen | b04d744a473 | Bring Debian config files into sync with the master one. | | |
Eric Andersen | e703f7ed420 | Ha. Regression testing found a bug with uClibc support. Fixed.
-Erik | | |
Eric Andersen | b9af8942645 | Fix up the uClibc compiler name (its format was recently changed slightly) | | |
Eric Andersen | 6d7fa438a7d | This patch from Laurence Anderson <laurence@zxmail.com> fixes
wget HTTP 1.1 support and addes chunked encoding so bb ... | | |
Eric Andersen | fd402941a76 | Patch from Valdimir to reduce stack usage, since recursive_action
is (as the name implies) is recursive, reducing sta... | | |
Matt Kraai | 4e853560f5c | Fix double quote handling. | | |
Eric Andersen | 2f2da90fd45 | "I will always compile before I commit" x 100 | | |
Eric Andersen | b6b519b4161 | Update how we detect if libc5 is in use.
-Erik | | |
Matt Kraai | d3f97f19718 | Fix warning generated by pod2html about unterminated list. | | |
Eric Andersen | 303dd28bb01 | Make 'grep -l' work | | |
Mark Whitley | 4391a16c92c | Fixed option parsing. Grep would continue grepping, even when given a bad /
invalid option. Closes bug #1146. | | |
Eric Andersen | e5dfced23a9 | Apply Vladimir's latest cleanup patch.
-Erik | | |
Eric Andersen | a75e2867435 | Bump version number to 0.51 | | |
Eric Andersen | 59aa5703ae2 | Enable freeramdisk and pivot_root, disable lash for the Debian .udeb
-Erik | | |
Eric Andersen | fc994d1cb45 | make sure we auto-close debian bug #91758
-Erik | | |
Eric Andersen | 7cf9fed83f6 | update the changelog, prepatory to the 0.51 release. Please review
for correctness!
-Erik | | |
Eric Andersen | 3f8688b406f | Update changelog | | |
Eric Andersen | 5d6f3440e6a | use 'USE_SYSTEM_PWD_GRP=false' for the Debian packages so the boot-floppies
do not need any of the nss crap installed... | | |
Glenn L McGrath | 305fdfa755c | Reorganise status field to use 3 chars instead of one bit shifted long int.
Generates status file properly now, not c... | | |
Glenn L McGrath | 37849f3320e | Use create_path instead of mkdir | | |
Glenn L McGrath | 13e9c7ad824 | It now correctly backs up the (still corrupt) status file | | |
Glenn L McGrath | 0e757a2f3f1 | Some fixes, but still broken... (cont)
Make better use of some libbb functions
New remove dir code to avoid depending... | | |
Glenn L McGrath | f608da42883 | Ignore SIGTERM prior to gz_close() | | |
Glenn L McGrath | e5f39576650 | Fix warning | | |
Eric Andersen | 8a9b2c6448e | Note that insmod now also supports powerpc and mips. Thanks Larry. | | |
Eric Andersen | aa21e0f9133 | An optimization from Vladimir | | |
Eric Andersen | 250a2217681 | more FILE_OFFSET_BITS == 64 adjustments. | | |
Eric Andersen | 83f173b61ec | A first pass at making D_FILE_OFFSET_BITS=64 work, from
Jari Ruusu <jari.ruusu@pp.inet.fi> | | |
Eric Andersen | c270ec1fa27 | Add support of /W prompts
-Erik | | |
Eric Andersen | 831ed16efca | Handle glibc 2.0.7 as well | | |
Eric Andersen | 79757c9c37b | A patch from Dmitry Zakharov <dmit@crp.bank.gov.ua> which adds
- support for ftp downloads
- HTTP basic authenticatio... | | |
Eric Andersen | ea9065072c9 | Some cleanups/fixes for the syslogd circular buffer code
from Gennady Feldman. | | |
John Beppu | 79359d87e86 | - autodocifier.pl :: continuation() was modified such that '#'
is handled correctly. | | |
John Beppu | 94e505485e7 | - use docs/autodocifier.pl to merge POD together | | |
| Next → |