7c139b4778
ash: fix signal handling
2007-03-21 20:17:27 +00:00
93ebd4f58d
ash: popstackmark is reported trying to pop until NULL
...
is seen (which isn't possible), prevent this.
2007-03-13 20:55:36 +00:00
8e858e2700
clean up accumulated whitespace damage
2007-03-07 09:35:43 +00:00
3af3e5b4b0
ash: cosmetic improvements in error messages
2007-03-05 00:24:52 +00:00
29e31ddd81
ash: do not use "safe applets" in non-standalone shell
2007-03-03 23:12:17 +00:00
4222ae440a
ash: replace xstrdup (shell shall not die)
...
grep: fix mis-indented block
2007-02-25 02:37:49 +00:00
5276402f2c
ash: fix compile problems
2007-02-24 13:42:56 +00:00
f98dc4db7a
ash: cleanup part 2.8
2007-02-23 21:11:02 +00:00
0dec6de38b
ash: cleanup part 2.7
2007-02-23 21:10:47 +00:00
cc5715184b
ash: cleanup part 2.6
2007-02-23 21:10:35 +00:00
2de3d9fbee
ash: cleanup part 2.5
2007-02-23 21:10:23 +00:00
a89150733a
ash: cleanup part 2.4
2007-02-23 21:10:06 +00:00
99eb8500c9
ash: cleanup part 2.3
2007-02-23 21:09:49 +00:00
fc06f2968b
ash: cleanup part 2.2
2007-02-23 21:09:35 +00:00
5651bfc204
ash: starting second round of cleanups. #1
2007-02-23 21:08:58 +00:00
bc54cffc83
ash: cleanup part 9
2007-02-23 01:05:52 +00:00
4d2183bee1
ash: cleanup part 8
2007-02-23 01:05:38 +00:00
4fe15f3d9e
ash: cleanup part 7
2007-02-23 01:05:26 +00:00
a6704933dd
ash: cleanup part 6
2007-02-23 01:05:15 +00:00
5c67e3ed90
ash: cleanup part 5
2007-02-23 01:05:03 +00:00
fe1f00a7a7
ash: cleanup part 4
2007-02-23 01:04:50 +00:00
9650f36210
ash: cleanup part 3
2007-02-23 01:04:37 +00:00
aa74445514
ash: cleanup part 2
2007-02-23 01:04:22 +00:00
0c032a49b9
ash: cleanup part 1
2007-02-23 01:03:40 +00:00
a624c11d5e
ash: move ash_main() and helpers to end of ash.c, more fuctions renamed,
...
superfluous casts from memory allocators removed
2007-02-19 22:45:43 +00:00
2da584fc4e
ash: more renaming and style fixes
2007-02-19 22:44:05 +00:00
b012b10dbd
ash: rearrange code to reduce forward references, rename some functions
2007-02-19 22:43:01 +00:00
e5570da2cf
ash: tiny style fixes
2007-02-19 22:41:55 +00:00
5cedb75aa7
ash: de-obfuscate code, add 'static' keyword, etc.
2007-02-18 19:56:41 +00:00
131ae177a7
ash: convert #ifdef CONFIG_ to #if ENABLE_
2007-02-18 13:00:19 +00:00
a0f82e928a
ash: fix indentation and style. no code changes
2007-02-18 12:35:30 +00:00
06af216528
suppress warnings about easch <applet>_main() having
...
no preceding prototype
2007-02-03 17:28:39 +00:00
38f6319421
cmdedit is not a 'command' editing anymore, it's just editing (generic),
...
so rename stuff accordingly.
2007-01-22 09:03:07 +00:00
8e1c71529c
Convert cmdedit into more generic line input facility
...
(make history and completion optional at runtime).
Use it for fdisk, as an example.
Some unrelated fixes in fdisk are also here.
2007-01-22 07:21:38 +00:00
2f0c0d0b88
Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our own
...
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 >
2007-01-21 00:41:04 +00:00
7f0d7ae4f5
fix subtle bug inherited from dash
2007-01-18 01:12:57 +00:00
f7996f3b70
Trailing whitespace removal over entire tree
2007-01-11 17:20:00 +00:00
62a6983a81
execute "safe applets" exev if not standalone shell
...
(patch by "Eric Spakman" <E.Spakman@inter.nl.net >)
2007-01-10 00:24:50 +00:00
8f27c34c28
ash: is_safe_applet mustn't affect disabled applets
2006-12-26 21:31:11 +00:00
666da5e2c6
merge post-1.3.0 fixes
2006-12-26 18:17:42 +00:00
bf0a201008
style fixes
...
last xcalloc replaced by xzalloc
2006-12-26 10:42:51 +00:00
0ee3999d13
random tiny size savings
2006-12-24 15:23:28 +00:00
f4dff77355
less: implement waiting for input using select(). Rather tricky business.
...
But we do not read entire input anymore up-front.
2006-12-24 07:14:17 +00:00
bf66fbc8e2
introduce LONE_CHAR (optimized strcmp with one-char string)
2006-12-21 13:23:14 +00:00
15b213ef5a
su: make /etc/shells check configurable
...
ash: missing ';'
2006-12-19 00:20:20 +00:00
7cfecc4b36
xfuncs.c: dietlibc actually HAS fdprintf!
...
platform.h: define strchrnul for dietlibc
ash: stop using few non-standard functions
2006-12-18 22:32:45 +00:00
83e5d6f772
A bunch of defined(__GLIBC__) added. static-linking warning expanded
2006-12-18 21:49:06 +00:00
9f739445cd
inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]
2006-12-16 23:49:13 +00:00
097c324f59
fix remaining survivors of the return(a) cleanup
2006-11-27 16:59:15 +00:00
d9e15f2068
style cleanup: return(a) -> return a, part 2
2006-11-27 16:49:55 +00:00