summaryrefslogtreecommitdiff
path: root/shell/ash.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai2001-11-121-3/+3
|
* Use fopen wrapper.Matt Kraai2001-11-121-4/+2
|
* Patch from Aaron Lehmann <aaronl@vitelus.com>;Eric 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.
* Patch from ASA <llb@udm.net.ru> to that source filesEric Andersen2001-10-311-6/+25
| | | | are properly passed their arguments.
* Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen2001-10-281-1/+5
|
* Fixup the location of pwd.h and grp.hEric Andersen2001-10-241-2/+2
|
* Patch from vodz:Eric Andersen2001-10-241-133/+30
| | | | | | 1) complete true: $ > /tmp/tmpfile 2) the builtin pwd now does not unwrap symlinks 3) reduce 680 bytes
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-17/+17
| | | | -Erik
* Add an option to make the shells not advertise their busybox natureEric Andersen2001-10-191-1/+3
|
* Remove the now unused ARITH_* definesEric Andersen2001-10-191-27/+1
| | | | -Erik
* Scrub up some function prototypes.Eric Andersen2001-10-181-19/+12
| | | | -Erik
* Commit my changes to xxreadtoken() to reduce code size. Also set definesManuel Novoa III2001-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.
* define IFS_BROKENEric Andersen2001-09-061-1/+2
|
* Patch from vodz to make ash cope with leading redirectionsEric Andersen2001-09-061-2/+9
| | | | (i.e. '2>/dev/null ls rubbish') will now work.
* I stupidly forgot one level of pointer indirection in the cmdtxt(), calcsize(),Manuel Novoa III2001-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.
* Fix a merging errorEric Andersen2001-08-101-2/+1
|
* A few bug fixes and significant size savings. Combined effort ofManuel Novoa III2001-08-101-1178/+1063
| | | | | Vladimir N. Oleynik dzo@simtreas.ru, Aaron Lehmann aaronl@vitelus.com, and myself.
* Small size optimization from Aaron LehmannEric Andersen2001-08-101-2/+2
|
* Fix stupid grammar error.Eric Andersen2001-08-101-2/+2
|
* Latest patch from vodz. Adds a check for divide by zero in the posixEric Andersen2001-08-021-126/+45
| | | | | | math suport, cleaner math syntax error checking, moves redundant signal string tables (from kill and ash) into libbb and provides a few cleanups elsewhere.
* Allow multiple shells to be enabled.Matt Kraai2001-08-011-2/+2
|
* Fix the let builtin (so we can close bug #1196) and remove theEric Andersen2001-07-311-48/+28
| | | | | nonstandard exp builtin. -Erik
* This incorporates Posix math support into ash. The Posix math supportEric Andersen2001-07-301-49/+56
| | | | | | | was written by Aaron Lehmann <aaronl@vitelus.com> for busybox. This patch makes a few trivial changes to Aaron's code so that it can be used (in theory) by the other shells as well... -Erik
* char renamed can never be negative on ARM (rp->renamed[i] != EMPTY)Russ Dill2001-07-261-3/+3
|
* Cleanup from vodzEric Andersen2001-07-171-2/+2
|
* This is vodz' latest patch. Sorry it took so long...Eric Andersen2001-07-171-4/+3
| | | | | | | | | 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
* Patch from vodz:Eric Andersen2001-07-121-22/+12
| | | | | | | Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
* Fix a stupid search and replace bug...Eric Andersen2001-07-101-4/+4
|
* vodz' latest update to ash.cEric Andersen2001-07-101-1162/+942
|
* Add in a shell tagline (per lash/hush behavior) to make it easierEric Andersen2001-07-071-1/+60
| | | | | | to know which shell is in use. Add in 'help' to list available builtins, and fixup msh so it can do STANDALONE_SHELL. -Erik
* This is vodz' latest ash update.Eric Andersen2001-07-061-571/+131
|
* A bit of testing today showed that ASH_BBAPPS_AS_BUILTINS wasEric Andersen2001-07-051-6/+2
| | | | | | | totally breaking the shell. Simple thinge like 'FOO=100' caused it to segfault. It turns out that disabling "bltincmd" is a very bad idea. -Erik
* Some updates to ash from vodz. Makes ash smaller. I made a fewEric Andersen2001-07-021-2671/+2788
| | | | | changes, esp describing all the current ash configuration options. Now ash adds 66k in the default configuration.
* Remove vodz from credits, per his requestEric Andersen2001-06-281-4/+2
|
* Scrub up the licensing blockEric Andersen2001-06-281-832/+65
| | | | -Erik
* This a an ash applet I put together. It is similar to the one putEric Andersen2001-06-281-0/+14242
together by vodz, but uses newer sources, has the removed features commented out instead of simply deleted (so they could be re-enabled) and the builtins all work. This adds 72k. -Erik