aboutsummaryrefslogtreecommitdiff
path: root/shell (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix a buffer overflow found by Gerardo Puga <gpuga@gioia.ing.unlp.edu.ar>andersen2002-06-061-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4869 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to only setenv PATH when PATH changes, which is muchandersen2002-06-061-3/+3
| | | | | | | smarter than my quick fix. git-svn-id: svn://busybox.net/trunk/busybox@4863 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for broken handling off BusyBox's own pwd/grp implementationssandman2002-06-041-2/+2
| | | | | | | [Parts of this patch may overlap with my other two patches] git-svn-id: svn://busybox.net/trunk/busybox@4856 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add --login support. This is the bash way of starting a shell that shouldsandman2002-05-141-3/+10
| | | | | | | parse the profile files. git-svn-id: svn://busybox.net/trunk/busybox@4773 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ensure that getenv("PATH") stays current, since otherwise cmdeditandersen2002-04-262-1/+5
| | | | | | | | | (which calls getenv("PATH")) would not operate upon the current PATH settings, which was really quite iritating. -Erik git-svn-id: svn://busybox.net/trunk/busybox@4677 69ca8d6d-28ef-0310-b511-8ec308f3f277
* vodz noted this line (as imported from Debian) is wrong, and has sinceandersen2002-04-241-2/+2
| | | | | | | been fixed upstream. git-svn-id: svn://busybox.net/trunk/busybox@4653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply last_patch37 from vodzandersen2002-04-241-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4652 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Jim Treadway and Vladimir Oleynik to Add CTRL-Kandersen2002-04-131-8/+12
| | | | | | | and fix CTRL-L support for cmdedit.c git-svn-id: svn://busybox.net/trunk/busybox@4610 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Nice patch from Wolfgang Denk <wd@denx.de> to provide hush withandersen2002-04-131-39/+308
| | | | | | | shell loops (for, while, until) and control operators (||, &&) git-svn-id: svn://busybox.net/trunk/busybox@4606 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make ash prompt the same as other shells if cmdedit and fancyprompttimr2002-04-131-4/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4596 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Completely rework the config system so that it no longer annoys me to work onandersen2002-04-122-19/+45
| | | | | | | | | | the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik git-svn-id: svn://busybox.net/trunk/busybox@4595 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to fix a potential segfaultandersen2002-03-201-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4444 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make private ash config options be publicandersen2002-01-092-125/+98
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4050 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ash patch: errname-diffaaronl2001-12-311-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3972 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ash patch: initvar-diffaaronl2001-12-311-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3971 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ash patch: forkshell-diffaaronl2001-12-311-11/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3970 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ash patch: fgcmd-diffaaronl2001-12-311-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3969 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ash patch: breakcmd-diffaaronl2001-12-311-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3968 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ash patch: addfname-diffaaronl2001-12-311-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3967 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to fix broken function prototypeandersen2001-12-211-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3936 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to implement ^L (clear screen)andersen2001-12-211-1/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3935 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.kraai2001-12-203-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Begin moving things to busybox.netandersen2001-12-081-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3871 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The ash ansification diff!aaronl2001-12-061-356/+191
| | | | | | | Please tell me if you notice any problems resulting from this. git-svn-id: svn://busybox.net/trunk/busybox@3834 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change strdup calls to xstrdup (patch from Steve Merrifield).kraai2001-11-122-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3666 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use fopen wrapper.kraai2001-11-121-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3663 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some more minor build cleanupsandersen2001-11-101-13/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3654 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup some config problems. Add a sane default config that basicallyandersen2001-11-101-0/+4
| | | | | | | matches the default old Config.h git-svn-id: svn://busybox.net/trunk/busybox@3648 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Aaron Lehmann <aaronl@vitelus.com>;andersen2001-10-311-26/+24
| | | | | | | | | | | | | | This diff does 2 things: 1) removes an unnecessary function. saves 64 bytes on i386 2) allows you to disable checking of mail (actually, it's now disabled by default). this would be a nice CML1 option, but for now it's a #(define|undef) in the C file like the other internal ash options. this saves an additional 352 bytes if you leave mail disabled. git-svn-id: svn://busybox.net/trunk/busybox@3617 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup some silly prototype warningsandersen2001-10-311-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3614 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from ASA <llb@udm.net.ru> to that source filesandersen2001-10-311-6/+25
| | | | | | | are properly passed their arguments. git-svn-id: svn://busybox.net/trunk/busybox@3613 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in some (theoretical) uClinux support. Some init cleanupsandersen2001-10-283-3/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3596 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup the location of pwd.h and grp.handersen2001-10-242-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3572 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz:andersen2001-10-241-133/+30
| | | | | | | | | 1) complete true: $ > /tmp/tmpfile 2) the builtin pwd now does not unwrap symlinks 3) reduce 680 bytes git-svn-id: svn://busybox.net/trunk/busybox@3569 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-247-105/+199
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add an option to make the shells not advertise their busybox natureandersen2001-10-194-2/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3548 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove the now unused ARITH_* definesandersen2001-10-191-27/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3547 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub up some function prototypes.andersen2001-10-181-19/+12
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3540 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Magnus Damm <damm@opensource.se> to avoid lash hangingandersen2001-10-031-1/+7
| | | | | | | on serial ports git-svn-id: svn://busybox.net/trunk/busybox@3475 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit my changes to xxreadtoken() to reduce code size. Also set definesmjn32001-09-111-5/+85
| | | | | | | | | so that the table implementations of copynode, calcsize, and cmdtxt are used. Hopefully this will result in wider testing. ;-) If it breaks, just unset the appropriate defines. git-svn-id: svn://busybox.net/trunk/busybox@3411 69ca8d6d-28ef-0310-b511-8ec308f3f277
* define IFS_BROKENandersen2001-09-061-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3405 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to make ash cope with leading redirectionsandersen2001-09-061-2/+9
| | | | | | | (i.e. '2>/dev/null ls rubbish') will now work. git-svn-id: svn://busybox.net/trunk/busybox@3401 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a warning and potential segfault in lash when BB_FEATURE_CLEAN_UPandersen2001-08-221-2/+2
| | | | | | | is enabled git-svn-id: svn://busybox.net/trunk/busybox@3331 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I stupidly forgot one level of pointer indirection in the cmdtxt(), calcsize(),mjn32001-08-121-19/+23
| | | | | | | | | | and copynode() table implementations. Commit the fix but keep them disabled until others check them out. Uncomment "//#define CMDTXT_TABLE", "//#define CALCSIZE_TABLE", and "//#define COPYNODE_TABLE" to try them out. Saves over 600 bytes on i386. git-svn-id: svn://busybox.net/trunk/busybox@3275 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a merging errorandersen2001-08-101-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3248 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few bug fixes and significant size savings. Combined effort ofmjn32001-08-101-1178/+1063
| | | | | | | | Vladimir N. Oleynik dzo@simtreas.ru, Aaron Lehmann aaronl@vitelus.com, and myself. git-svn-id: svn://busybox.net/trunk/busybox@3247 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Small size optimization from Aaron Lehmannandersen2001-08-101-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3245 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix stupid grammar error.andersen2001-08-101-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3243 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add support for underscores in variable names.kraai2001-08-061-13/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3212 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Teach libc5 what a sighandler_t isandersen2001-08-021-0/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3190 69ca8d6d-28ef-0310-b511-8ec308f3f277