037576d77b
read_line_input: fix it to not do any fancy editing if echoing is disabled. ash: make read handling both more correct and smaller
Denis Vlasenko
2007-10-20 18:30:38 +00:00
99014e8965
more fixes for help text wrt long options
Denis Vlasenko
2007-10-20 14:54:58 +00:00
a03945aa84
website: add link to "No ifup" document
Denis Vlasenko
2007-10-20 04:44:08 +00:00
2edbc2ab85
ping: fix breakage from -I fix passwd: SELinux support by KaiGai Kohei <kaigai@ak.jp.nec.com>
Denis Vlasenko
2007-10-20 02:00:49 +00:00
34cd7afc49
httpd: free big buffer after use; improve grep-ability of 'headers' variable
Denis Vlasenko
2007-10-18 13:01:22 +00:00
f74194e942
xatonum.h: add comment lineedit: fix typo in comment httpd: support for proxying connection to other http server (by Alex Landau <landau_alex@yahoo.com>)
Denis Vlasenko
2007-10-18 12:54:39 +00:00
0363078437
more of usage text fixes wrt long options
Denis Vlasenko
2007-10-18 11:11:12 +00:00
73e5ed2206
exclude --longopts from usage texts if those are disabled
Denis Vlasenko
2007-10-18 10:52:36 +00:00
686b0ef7d8
bzip2: move state pointer to the offset 0 (smaller code) ifdef out DecompressEnd if FEATURE_CLEAN_UP is not seleted
Denis Vlasenko
2007-10-16 14:07:41 +00:00
008eda2c54
bzip2: make -s equivalent to -2 (compatible with standard bzip2) telnetd: typo fix in comment
Denis Vlasenko
2007-10-16 10:47:27 +00:00
2450c450ab
telnetd: at Alexander Kriegisch <Alexander@kriegisch.name> insistence add an option to close sessions as soon as child exits. Maybe it should be a CONFIG option. OTOH, maybe it should be always on, as it mimics, say, getty's behaviour.
Denis Vlasenko
2007-10-15 22:09:15 +00:00
10916c5c6b
telnetd: document bug in remove_iacs. reinstate band-aid which was making it near-impossible to trigger. remove memmove call which was happening at each network read, and in 99%+ cases was not needed. Unfortunately, +50 bytes.
Denis Vlasenko
2007-10-15 17:28:00 +00:00
59d7c43dbe
telnetd: some simplifications and better error hadling. telnetd: don't SIGKILL child when closing the session. kernel will seng SIGHUP for us.
Denis Vlasenko
2007-10-15 15:19:36 +00:00
d898b8600c
bzip2: update help text
Denis Vlasenko
2007-10-14 07:57:26 +00:00
be5a7b9655
bzip2: remove files which are not used anymore
Denis Vlasenko
2007-10-14 00:44:10 +00:00
ef3aabe906
bzip2: size reduction, to just below 9k.
Denis Vlasenko
2007-10-14 00:43:01 +00:00
77f1ec1b9b
bzip2: port bzip2 1.0.4 to busybox. note: bzip2 code resides in separate directory (archival/bz/*) and is covered by BSD-style license. code size: 13k
Denis Vlasenko
2007-10-13 03:36:03 +00:00
8add068573
mt: eliminate vector of structures with pointers (bad for libbusybox). It's a win for static build too:
Denis Vlasenko
2007-10-11 19:38:59 +00:00
2ea8c40e8f
stty: incorporate strings into struct instead of keeping pointers there.
Denis Vlasenko
2007-10-11 16:02:36 +00:00
4f95e5aab8
vi: don't wait 50 ms before reading ESC sequences inetd,syslogd: use safe_read instead of open-coded EINTR handling syslogd: bail out if you see null read from Unix socket (should never happen, but if it does, spinning forever and eating 100% CPU is not a good idea)
Denis Vlasenko
2007-10-11 10:10:15 +00:00
f9566d8c29
trim too verbose help texts
Denis Vlasenko
2007-10-11 10:07:24 +00:00
15cb4a4272
fix a problem with two different applet_name's
Denis Vlasenko
2007-10-11 10:06:26 +00:00
9b49a5ed85
add -fvisibility=hidden to CC flags, mark XXX_main functions EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
Denis Vlasenko
2007-10-11 10:05:36 +00:00
8d82cf72c9
add -fpic to CC flags when we build libbusybox (14% smaller .so)
Denis Vlasenko
2007-10-11 10:02:52 +00:00
52a4388d95
bunzip: small code shrink and consmetics
Denis Vlasenko
2007-10-10 20:53:41 +00:00
724d196c75
Move applets/applet.c into libbb, allows to get rid of --whole-archive (smaller code). Tested in static and shared mode.
Denis Vlasenko
2007-10-10 14:41:07 +00:00
82d38dab91
get rid of global "struct bb_applet *current_applet"
Denis Vlasenko
2007-10-10 14:38:47 +00:00
642a52d65e
make --help work for "individual applets" too.
Denis Vlasenko
2007-10-07 21:00:41 +00:00
d62fd84d4b
libbusybox: move (possibly compressed) help stuff into libbusybox. Makes individual binaries much smaller.
Denis Vlasenko
2007-10-07 20:46:34 +00:00
7930bcf736
trim too verbose help messages
Denis Vlasenko
2007-10-07 19:13:55 +00:00
d65ea39ffc
hush: fix glob() abuse. Code was making unfounded assumptions how glob() works, and it broke horribly on specific uclibc config.
Denis Vlasenko
2007-10-01 10:02:25 +00:00
ff0976248a
hush: int->smallint for flag vars; make some names more "greppable"
Denis Vlasenko
2007-10-01 10:00:45 +00:00
8412d7959a
hush: feeble attempt at making it more NOMMU-friendly
Denis Vlasenko
2007-10-01 09:59:47 +00:00
a0898170d8
hush: stop doing manual acounting of open fd's, kernel can do it for us
Denis Vlasenko
2007-10-01 09:59:01 +00:00
96e1b38586
introduce and use close_on_exec_on(fd). -50 bytes.
Denis Vlasenko
2007-09-30 23:50:48 +00:00
deabacdf91
move udhcp_{client/server}_config to common_bufsiz1
Denis Vlasenko
2007-09-30 17:55:43 +00:00