summaryrefslogtreecommitdiff
path: root/shell/ash.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* ash: cleanup part 4Denis Vlasenko2007-02-231-647/+597
|
* ash: cleanup part 3Denis Vlasenko2007-02-231-42/+46
|
* ash: cleanup part 2Denis Vlasenko2007-02-231-1738/+1640
|
* ash: cleanup part 1Denis Vlasenko2007-02-231-586/+539
|
* ash: move ash_main() and helpers to end of ash.c, more fuctions renamed,Denis Vlasenko2007-02-191-423/+382
| | | | superfluous casts from memory allocators removed
* ash: more renaming and style fixesDenis Vlasenko2007-02-191-126/+130
|
* ash: rearrange code to reduce forward references, rename some functionsDenis Vlasenko2007-02-191-657/+568
|
* ash: tiny style fixesDenis Vlasenko2007-02-191-8/+16
|
* ash: de-obfuscate code, add 'static' keyword, etc.Denis Vlasenko2007-02-181-364/+299
|
* ash: convert #ifdef CONFIG_ to #if ENABLE_Denis Vlasenko2007-02-181-163/+119
|
* ash: fix indentation and style. no code changesDenis Vlasenko2007-02-181-599/+593
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-2/+2
| | | | no preceding prototype
* cmdedit is not a 'command' editing anymore, it's just editing (generic),Denis Vlasenko2007-01-221-9/+9
| | | | so rename stuff accordingly.
* Convert cmdedit into more generic line input facilityDenis Vlasenko2007-01-221-54/+52
| | | | | | (make history and completion optional at runtime). Use it for fdisk, as an example. Some unrelated fixes in fdisk are also here.
* Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our ownDenis Vlasenko2007-01-211-0/+4
| | | | | | executable if we asked to exec someting with argv[0] == known_applet" Use it in init. Also respect PATH in init, remove explicit "/sbin" etc from exec. Patch by Gabriel L. Somlo <somlo@cmu.edu>
* fix subtle bug inherited from dashDenis Vlasenko2007-01-181-4/+8
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-111-2/+2
|
* execute "safe applets" exev if not standalone shellDenis Vlasenko2007-01-101-1/+1
| | | | (patch by "Eric Spakman" <E.Spakman@inter.nl.net>)
* ash: is_safe_applet mustn't affect disabled appletsDenis Vlasenko2006-12-261-16/+33
|
* merge post-1.3.0 fixesDenis Vlasenko2006-12-261-2/+2
|
* style fixesDenis Vlasenko2006-12-261-6/+6
| | | | last xcalloc replaced by xzalloc
* random tiny size savingsDenis Vlasenko2006-12-241-11/+5
|
* less: implement waiting for input using select(). Rather tricky business.Denis Vlasenko2006-12-241-1/+1
| | | | But we do not read entire input anymore up-front.
* introduce LONE_CHAR (optimized strcmp with one-char string)Denis Vlasenko2006-12-211-1/+1
|
* su: make /etc/shells check configurableDenis Vlasenko2006-12-191-1/+1
| | | | ash: missing ';'
* xfuncs.c: dietlibc actually HAS fdprintf!Denis Vlasenko2006-12-181-9/+11
| | | | | platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions
* A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko2006-12-181-3/+1
|
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko2006-12-161-7/+7
|
* fix remaining survivors of the return(a) cleanupDenis Vlasenko2006-11-271-2/+2
|
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-271-9/+9
|
* 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.