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
6ca0444420
syslogd: fix "readpath bug" by using readlink instead
...
libbb: rename xgetcwd and xreadlink
2007-02-11 16:19:28 +00:00
d244c5eaf8
msh: fix my buglet
2007-02-09 17:30:14 +00:00
cf787cf3a5
find: support for !
2007-02-04 17:11:25 +00:00
06af216528
suppress warnings about easch <applet>_main() having
...
no preceding prototype
2007-02-03 17:28:39 +00:00
4c97863109
assorted fixes for bugs found with randomconfig
2007-02-03 03:31:13 +00:00
1e3b068689
msh: cleaning up for -Wwrite-strings part #4
2007-02-01 01:43:54 +00:00
6b50f73171
msh: cleaning up for -Wwrite-strings part #3
2007-02-01 01:43:39 +00:00
489f93ebae
msh: cleaning up for -Wwrite-strings part #2
2007-02-01 01:43:16 +00:00
00ccf95bc8
msh: cleaning up for -Wwrite-strings
2007-02-01 01:39:24 +00:00
71d8abf30c
lash: -Wwrite-strings fixes
2007-01-30 22:44:07 +00:00
bb81c5831a
hush: style fixes
2007-01-30 22:32:09 +00:00
c72c1ed932
hush: now it's -Wwrite-strings clean
2007-01-30 22:31:26 +00:00
0c886c65de
hush: style fixes
2007-01-30 22:30:09 +00:00
15d78fb724
hust: -Wwrite-strings fixes
2007-01-30 22:28:21 +00:00
eb10e17b7b
- improve spelling
2007-01-29 23:56:13 +00:00
b6aae0f381
preparatory patch for -Wwrite-strings #2
2007-01-29 22:51:25 +00:00
703e20235a
cleanups: unnecessary casts, unified const_1, eliminate cross-.c file
...
prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED",
removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
2007-01-22 14:12:08 +00:00
95fef7071e
move shell/cmdedit.c -> libbb/lineedit.c
2007-01-22 09:03:42 +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
253ce00296
cmdedit: fix breakage
2007-01-22 08:34:44 +00:00
b01b4e2a1f
cmdedit.h: remove
2007-01-22 08:17:14 +00:00
6258fd3454
cmdedit: stop playing dirty games with atexit
2007-01-22 07:30:26 +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
00cdbd8fc2
Introduce FEATURE_EDITING_FANCY_KEYS, so that user can disable
...
less-known keys (e.g. Ctrl-B/E/F)
2007-01-21 19:21:21 +00:00
5592fac308
cmdedit: more optimizations
2007-01-21 19:19:46 +00:00
47bdb3ac48
cmdedit: small optimizations
2007-01-21 19:18:59 +00:00
82b39e83ab
sanitize cmdedit a bit (group functions by task etc)
2007-01-21 19:18:19 +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
9af7c9d6b6
openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code
...
(will close all fd's > 2 on daemonization now)
getty: fix "getty -" support, and also do not try to chown/chmod "-"
telnetd: fix "lost ctty" bug
Yet another attempt on saner function names:
bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
2007-01-19 21:19:35 +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
b2abef3e54
stty: fix width of a field for ppc32
...
sort: fix -u to match coreutils 6.3
msh: compile fix (my fault)
2007-01-01 18:18:04 +00:00
e27f15615f
msh: double "static char line[LINELIM]" etc deleted.
...
massive amounts of assignments-in-ifs deleted
(some of which were VERY nasty)
2007-01-01 06:00:38 +00:00
57ec574af7
* precision requires the argument be an integer, not size_t
2006-12-28 21:41:09 +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