aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Another hush update from Larry:andersen2001-05-012-10/+26
| | | | | | | | | | | | | | | | | Minor improvements. Something is still broken with running scripts via "hush filename". All the following are now handled acceptably (matches ash, not bash). if true; then echo foo1; fi if true; then echo foo2; fi if true; false; then echo bar; else echo foo3; fi if true || false; then echo foo4; fi - Larry git-svn-id: svn://busybox.net/trunk/busybox@2500 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Larry to fix pristine source builds (again).andersen2001-05-013-3/+3
| | | | | | | I just can't seem to _not_ break it. Sigh. git-svn-id: svn://busybox.net/trunk/busybox@2499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some more hush.c updates from Larry Doolittle.andersen2001-04-302-26/+92
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2497 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Oops. I was a bit too hasty and also changed applet_name.andersen2001-04-302-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2496 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Made new xreadlink function for libbb and changed applets to use it instead ofmarkw2001-04-3013-90/+77
| | | | | | | readlink(2). git-svn-id: svn://busybox.net/trunk/busybox@2495 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These messages can be .rodata, so make them even more const.andersen2001-04-303-38/+38
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2494 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These do not need initial values. Let them live in the bss.andersen2001-04-304-6/+6
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2493 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Per suggestion by Matt, make sh.c a real target. There is noandersen2001-04-301-4/+4
| | | | | | | | need for the useless sh_link dummy target -- use the real thing. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2492 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix user permissions of copied directories.kraai2001-04-301-1/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2491 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Simplify permission handling for FIFOs.kraai2001-04-301-12/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2490 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix exit status when there is an error copying a file.kraai2001-04-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2489 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Logic reversal for last_char_isbug12001-04-292-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2488 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix to applet_source_list rule so Debian package continues to builddwhedon2001-04-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2487 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Matt was complaining. Hopefully this helps the sh.c link situationandersen2001-04-271-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2480 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Terminate source correctly when copying symlink. Report and patch bykraai2001-04-271-2/+3
| | | | | | | Brian Webb <webbb@desertscenes.net>. git-svn-id: svn://busybox.net/trunk/busybox@2478 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use BUFSIZ for the_command to match size used in cmdeditandersen2001-04-272-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2475 69ca8d6d-28ef-0310-b511-8ec308f3f277
* An update to hush from Larry:andersen2001-04-272-188/+40
| | | | | | | | | | | | | | It should recover more smoothly from syntax errors, and it now has a decent guess when the reserved word construct is over (or not) to control execution and prompting. I took out all the redundant standalone test copies of libbb routines, but left in a hook so I can include those for my testing. I'll post that include file on my web site. - Larry git-svn-id: svn://busybox.net/trunk/busybox@2474 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be a bit more sneaky about the sh.c symlink so you don't need toandersen2001-04-261-2/+4
| | | | | | | | do a mke clean for it to happen. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2468 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ignore some generated filesandersen2001-04-262-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2467 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is the initial checkin of Larry Doolittle's hush.c, using hisandersen2001-04-264-1935/+4383
| | | | | | | | | | | | | | | April 25, 2001 snapshot, adjusted a bit by me so it has cmdedit support. This checkin also removes sh.c. In the future sh.c will be a symlink to your shell of choice. For now, this symlink will default to pointing to lash.c (as in the past). If you change the symlink to point to hush.c, then thats what you will get. This symlink business is a temporary situation, which will be cleaned up Real Soon Now(tm). -Erik git-svn-id: svn://busybox.net/trunk/busybox@2466 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Disable lashandersen2001-04-264-0/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2465 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These days busybox.pod is autogenerated, so it should be removedandersen2001-04-261-2549/+0
| | | | | | | from CVS. git-svn-id: svn://busybox.net/trunk/busybox@2464 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A fix from Larry for a corner case where insmod could end upandersen2001-04-262-6/+16
| | | | | | | doing an xrealloc(0). git-svn-id: svn://busybox.net/trunk/busybox@2463 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix handling of permission addition and removal (e.g., o-r).kraai2001-04-262-18/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2461 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Doh. I never allocated storate for the struct stat I am using.andersen2001-04-262-6/+6
| | | | | | | | There was just a never initialized pointer. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2460 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix handling of -R flag.kraai2001-04-266-0/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2459 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another nice cleanup from Larry. This adds a new last_char_is() function andandersen2001-04-2612-11/+46
| | | | | | | | | uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2450 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As Larry pointed out, this the off by one canbe fixed much more elegantly.andersen2001-04-266-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2449 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a silly off-by-one error noticed by Santiago Garcia Mantinan ↵andersen2001-04-266-6/+6
| | | | | | | | | <manty@debian.org> -Erik git-svn-id: svn://busybox.net/trunk/busybox@2448 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Larry Doolittle to fix pristine build breakage.markw2001-04-251-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2447 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed obsoleted BB_FEATURE_RM_INTERACTIVEmarkw2001-04-255-24/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2441 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from I.Q. to add -s to cmp.markw2001-04-255-18/+49
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2440 69ca8d6d-28ef-0310-b511-8ec308f3f277
* libbb.h now includes ../busybox.h. This way, files in libbb that havemarkw2001-04-253-1/+9
| | | | | | | | BB_[FEATURE] #defines won't be ignored. Credit to Magnus Damm for spotting this. git-svn-id: svn://busybox.net/trunk/busybox@2439 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some more cleanups for insmod from Larry.andersen2001-04-252-24/+46
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2438 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry noticed that chown and chgrp has the version numbers off a bitandersen2001-04-254-4/+4
| | | | | | | for glibc's lchown support. Thanks Larry. git-svn-id: svn://busybox.net/trunk/busybox@2437 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Moved some #ifdefs down below #include "busybox.h" where they belong.markw2001-04-255-10/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2436 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sync'ed up the olympus section between this and stock Config.hmarkw2001-04-251-49/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2435 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a BB_MTAB #define buglet reported by Magnus Damm.markw2001-04-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2434 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move messages.c to libbb. Make each string in messages.c be its own .o file.andersen2001-04-2546-241/+98
| | | | | | | | | | This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2430 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup more carefully after pod2htmlandersen2001-04-241-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2429 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Several cleanups from Larry.andersen2001-04-242-12/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2428 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote rm.kraai2001-04-248-219/+195
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2423 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Split up chmod_chown_chgrp.c into 3 separate apps. This unfortunatelyandersen2001-04-2414-184/+605
| | | | | | | | | adds 384 bytes to the overall size. But having each app be standalone is the Right Thing(tm) so we will just have to live with it. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2422 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update applet define from BB_CP_MV to BB_CP and BB_MV.kraai2001-04-244-4/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2421 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use generic flag names.kraai2001-04-247-55/+56
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move applet_name declaration from busybox.h to libbb.h.kraai2001-04-247-9/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2418 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Larry Doolittle to remove some strlen calls, and add onemarkw2001-04-232-14/+20
| | | | | | | paranoia check to avoid buffer underrun. Saves 120 text bytes. git-svn-id: svn://busybox.net/trunk/busybox@2417 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove file obsoleted by cp/mv rewrite.kraai2001-04-231-325/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2408 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite cp and mv to be SUSv2 compliant.kraai2001-04-2310-156/+811
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reversed last patch; unnecessary.markw2001-04-231-4/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2406 69ca8d6d-28ef-0310-b511-8ec308f3f277