summaryrefslogtreecommitdiff
path: root/shell/ash.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-271-5/+6
|
* httpd: LC_TIME locale _must_ be POSIX to httpd! We speak over the net!Denis Vlasenko2006-11-211-1/+0
|
* add -Wundef, fix uncovered bugsDenis Vlasenko2006-11-171-27/+28
|
* ash: fix segfault in ash.Denis Vlasenko2006-10-161-1/+5
| | | | patch by walter harms <wharms@bfs.de>
* fixes from Vladimir Dronnikov <dronnikov@gmail.ru>Denis Vlasenko2006-10-101-1/+1
|
* build system overhaulDenis Vlasenko2006-10-051-2/+0
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-2/+2
|
* several fixes from openWRT projectDenis Vlasenko2006-09-261-0/+39
|
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley2006-08-291-57/+32
| | | | | (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit).
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-2/+2
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-5/+5
| | | | xlseek and fdlength() for the new mkswap.
* A couple things that got tangled up in my tree, easier to check in both thanRob Landley2006-07-121-19/+8
| | | | | | | | | | | | | | untangle them: Rewrite u_signal_names() into get_signum() and get_signame(), plus trim the signal list to that required by posix (they can specify the numbers for the rest if they really need them). (This is preparatory cleanup for adding a timeout applet like Roberto Foglietta wants.) Export the itoa (added due to Denis Vlasenko, although it's not quite his preferred implementation) from xfuncs.c so it's actually used, and remove several other redundant implementations of itoa and utoa() in the tree.
* Bug fix from Vladimir Oleynic via Paul Fox for:Rob Landley2006-07-061-0/+1
| | | | | | | echo "+bond0" > /sys/class/net/bonding_masters while true; do echo hello done
* Get rid of all "#if 0" content."Robert P. J. Day"2006-07-011-5/+0
|
* Remove all usage of the "register" storage class specifier."Robert P. J. Day"2006-07-011-1/+1
|
* - convert old-style parameter declarations (K&R) to modern style.Bernhard Reutner-Fischer2006-06-251-3/+2
|
* - add note about strict orderingBernhard Reutner-Fischer2006-06-211-0/+1
|
* Jean Wolter writes: ash uses bsearch to search in the list of built-in ↵Mike Frysinger2006-06-211-1/+1
| | | | commands, therefore the list of built-in commands has to be ordered. Revision 15077 introduced the source built-in and destroyed this order. And now ash doesn't find the shift command anymore.
* Upgrade the standalone shell code to use CONFIG_BUSYBOX_EXEC_PATH.Rob Landley2006-06-141-3/+1
|
* made "test" an ash built-in.Paul Fox2006-06-081-3/+27
| | | | | | | | | | | | | | | | | | | moved the contents of libbb/bb_echo.c back into coreutils/echo.c, which is a more reasonable place for them than libbb. this forces anyone who wants echo and test to be builtin to ash to also have them available as applets. their cost is very small, and the number of people who wouldn't want them as applets is also very small. added warning about shell builtins vs. CONFIG_FEATURE_SH_STANDALONE_SHELL, which conflicts with their use. thanks to nathanael copa for debugging help. some string size optimization in test.c may have been lost with this commit, but this is a good new baseline.
* - reuse strings and messages. Saves about 600BBernhard Reutner-Fischer2006-06-071-1/+1
|
* - move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer2006-06-021-4/+3
| | | | and eventual platform specific includes in early.
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* - replace _PATH_DEVNULL with bb_dev_nullBernhard Reutner-Fischer2006-05-191-2/+2
|
* Patch from Lucas C. Villa Real adding "source" as a synonym for the "." command.Rob Landley2006-05-121-0/+1
|
* moved BB_BANNER to applets/version.c file: make kernel like version, "Vladimir N. Oleynik"2006-02-161-2/+3
| | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
* fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen2006-01-301-12/+14
|
* C99 say: "char" declaration may be signed or unsigned default"Vladimir N. Oleynik"2006-01-251-10/+12
|
* Add more bash-like dot-dirs cmdedit feature"Vladimir N. Oleynik"2006-01-251-2/+2
| | | | | Close bug 648. Restore my whitespace
* just whitespaceTim Riker2006-01-251-2/+2
|
* - add platform.h.Bernhard Reutner-Fischer2006-01-221-23/+11
| | | | - use shorter boilerplate while at it.
* restore 8-bit syntax works, last debian patch is broken. Noticed by Vladimir ↵"Vladimir N. Oleynik"2006-01-191-1/+1
| | | | Dronnikov
* sync with dash_0.5.3-1"Vladimir N. Oleynik"2006-01-151-302/+267
|
* sync license from mainstream"Vladimir N. Oleynik"2005-12-151-6/+2
|
* remove sigsetmask, noticed by Bernhard"Vladimir N. Oleynik"2005-12-131-0/+4
|
* common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"2005-10-151-2/+1
|
* correct set prompt if CONFIG_ASH_EXPAND_PRMT enabled, small automatic ↵"Vladimir N. Oleynik"2005-09-261-3/+12
| | | | space->tabs convert by my personal editor
* committing:Paul Fox2005-09-071-51/+95
| | | | | | | | Summary 0000242: ash: read -t broken this also implements -n and -s options to read. (they're configured together because most of their code is in common, and separating them seemed silly.
* 1) sync with dash_0.5.2-7"Vladimir N. Oleynik"2005-09-051-59/+94
| | | | | | 2) but expand PS# as config option 3) correct kill error message again 4) remove show "line number" for interactive run (patch pending for dash)
* Patch from Stephane Billiart to improve ash error message.Rob Landley2005-08-141-1/+1
|
* implemented a builtin echo command in ash. moved the guts of thePaul Fox2005-08-091-33/+19
| | | | | | echo applet into libbb, and now call bb_echo() from both echo.c and ash.c
* commiting:Paul Fox2005-08-041-6/+11
| | | | 0000025: vi-editing mode for ash
* revert 10881, and refix by changing "if (vallen)" to "if (val)". thisPaul Fox2005-07-211-2/+3
| | | | | is per the upstream fix for dash, in dash_0.5.2-6.diff. thanks vodz, for catching this.
* applying fix for:Paul Fox2005-07-201-2/+1
| | | | | 0000261: Unsafe empty env var export in ash
* applying fix from:Paul Fox2005-07-201-11/+22
| | | | 0000152: ash: quoting rules for local variables different to globals
* This one's from me. Fix ash "standalone shell".Rob Landley2005-05-071-21/+7
| | | | | | | | | If we exec /proc/self/exe and only fall back to /bin/busybox if /proc isn't there, then we have a reasonable chance of having the standalone shell work even if busybox isn't installed in /bin on the system in question. Still won't work in a chroot environment, but it's an improvement.
* - no need to check if JOBS is defined. Config.in ensures it.Ned Ludd2005-02-101-7/+6
|
* - add ash read -t timeout support. initial code provided by Tim Yamin on ↵Ned Ludd2005-02-091-3/+63
| | | | Oct/21/2004 on the busybox mailing list. Edited his code a little to keep syntax highlighers happy and make it optional when CONFIG_ASH_TIMEOUT is defined
* Fix CONFIG_ASH_MATH_SUPPORT_64 so it actually worksEric Andersen2004-10-081-4/+4
|
* Hiroshi Ito writes:Eric Andersen2004-10-081-0/+1
| | | | | | | | ash "unset OLDPWD; cd -" causes segmentation fault. ( OLDPWD is not set when sh is invoked from getty. ) patch against current CVS is attached.