4824ccae8e
*: fix build problems found with randomconfig
Denis Vlasenko
2008-03-21 18:29:01 +00:00
0dc490bda2
scripts/bb_release: release script (I nearly lost it last time) website: update links to latest releases
Denis Vlasenko
2008-03-21 09:56:19 +00:00
f90ab183d6
*: use fopen_or_warn in few more places
Denis Vlasenko
2008-03-20 21:19:35 +00:00
275b929e01
let top build without TERMIOS enabled
Paul Fox
2008-03-20 16:05:02 +00:00
9e1f92d0bb
termios can be used by either top or more.
Paul Fox
2008-03-20 16:04:36 +00:00
c52248e41c
small NOMMU fixes
Denis Vlasenko
2008-03-20 14:04:30 +00:00
3c96d0258c
hdparm: do not lie about supporting -q (quiet) hdparm: interpret_standby() shrink hdparm: make HDIO_GET/SET_QDMA #ifdef more complete (by Joe Krahn <krahn AT niehs.nih.gov>)
Denis Vlasenko
2008-03-20 13:44:50 +00:00
0f3a580c4f
gcc compat fix and warning suppression by Joe Krahn <krahn AT niehs.nih.gov>
Denis Vlasenko
2008-03-20 13:13:09 +00:00
027271e5a9
udhcp: fix wrong order of args here: index_in_strings(opt, dhcp_option_strings); code shrink while at it:
Denis Vlasenko
2008-03-20 12:47:01 +00:00
0a0180cdc5
tftpd: small trivial shrink
Denis Vlasenko
2008-03-19 23:37:32 +00:00
0764a7f72d
ifupdown: make it NOMMU-capable
Denis Vlasenko
2008-03-19 16:24:17 +00:00
7a60133c6c
tftpd: fix download: we must change user AFTER bind
Denis Vlasenko
2008-03-19 13:24:13 +00:00
403a5a298e
tftpd: options -c (allow _new_ files to be uploaded) and -u USER
Denis Vlasenko
2008-03-19 13:07:00 +00:00
71c9f015e9
tftp(d): a bit more verbose error reporting
Denis Vlasenko
2008-03-19 09:43:50 +00:00
dd9228b861
tftpd: make it emit error packets telnetd: use login always, not "sometimes login, sometimes shell"
Denis Vlasenko
2008-03-19 05:00:05 +00:00
c0183e6e0d
unlzma: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com>
Denis Vlasenko
2008-03-18 03:13:25 +00:00
6aa7696e28
mount: #ifdef out MOUNT_LABEL code parts if it is not selected
Denis Vlasenko
2008-03-18 01:44:52 +00:00
d7e6af2dda
tftpd: make open() check r/w permissions instead of doing it ourself. Add -r "prohibit upload" opt for those lazy people who run tftpd as root. -40 bytes.
Denis Vlasenko
2008-03-18 01:13:11 +00:00
78c5656530
tftpd: fix bugs spotted by Vladimir
Denis Vlasenko
2008-03-18 00:11:46 +00:00
e421b5ebf6
init: do not close all descriptors > 2. We were doing it - sometimes. Good choices are "do it, always" or "don't do it". Second is smaller.
Denis Vlasenko
2008-03-17 22:01:42 +00:00
2724fa9d8a
remove alarm() calls which were functioning as a primitive watchdog function, presumably to catch infinite loop bugs. (control-C can do the same thing, and the alarms were too short in any case.) also, switch to sigsetjmp/siglongjmp in order to allow repeated use of control-C -- otherwise it works once, then not again.
Paul Fox
2008-03-17 15:28:07 +00:00
fb274df079
init: do not use bb_sanitize_stdio(), "/dev/null" may be missing (yet)
Denis Vlasenko
2008-03-17 13:26:51 +00:00
9c8c038981
httpd: small fixlet for POST upload - skip whitespace between "Content-length:" and number
Denis Vlasenko
2008-03-17 12:58:19 +00:00
d1277c6052
remove extra spaces in help text; delete duplicate #define
Denis Vlasenko
2008-03-17 09:37:24 +00:00
d0a071a528
brctl: eliminate stray data object brctl: use constant fd to reduce parameter passing runsvdir: do not use data/bss od: reuse bb_argv_dash last: do not go into endless loop on read error mount: make it not fail scripts/find_bad_common_bufsiz check dc: add INIT_G() (no-op for dc, but we want uniform usage of "G trick")
Denis Vlasenko
2008-03-17 09:33:45 +00:00
b44c790e41
*: fix various kinds of damage to letter 'c' in Arkadiusz Mickiewicz' surname. chrt,taskset,dc,eject: shrink crontab: call "vi" with just name, no path watchdog: intercept all fatal signals
Denis Vlasenko
2008-03-17 09:29:43 +00:00
d25c33f186
volume_id: disable detection routines which are not setting label and uuid anyway
Denis Vlasenko
2008-03-17 09:25:05 +00:00
c5b737231d
volude_id: remove unused fields and functions which were setting them
Denis Vlasenko
2008-03-17 09:21:26 +00:00
592d4fe772
selinux/*: -Wunused-parameter fixes runsv: make it NOMMU-capable
Denis Vlasenko
2008-03-17 09:19:26 +00:00
4ee7cd4f6f
*: mode tcp/udpsvd to networking, delete ipsvd/* */Config.in: fixes to text svlogd: make it NOMMU capable
Denis Vlasenko
2008-03-17 09:13:22 +00:00
aa9b1828b9
tftpd: new applet (mostly using existing code for tftp)
Denis Vlasenko
2008-03-17 09:10:39 +00:00
1d42665b6b
*: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param)
Denis Vlasenko
2008-03-17 09:09:09 +00:00
62a90cdd74
*: shrink by using [f]open_or_warn_stdin where appropriate
Denis Vlasenko
2008-03-17 09:07:36 +00:00
d02db89244
clean up TODO file. No real code changes.
Denis Vlasenko
2008-03-17 09:05:21 +00:00
a55bd05f3c
fsck: shrink (we were passing around some params which were unused)
Denis Vlasenko
2008-03-17 08:59:19 +00:00
397de617f3
help text: regularize format, and shrink getty: shrink, and improve comments mount: OPT_ALL is superfluous, we already have OPT_a
Denis Vlasenko
2008-03-17 08:55:44 +00:00
a4522c5a66
mount: plug a hole where FEATURE_MOUNT_HELPERS could allow execution of arbitrary command.
Denis Vlasenko
2008-03-17 08:46:43 +00:00
afc4113ed7
fuser: bugfixes and shrink. It was assuming that xmalloc zeroes returned area!
Denis Vlasenko
2008-03-17 08:44:58 +00:00
cdf62770af
dos2unix: tiny shrink login,su: fix setup_environment() so that it works as intended (parameter names were a bit misleading) fdisk: shrink help text: shrink
Denis Vlasenko
2008-03-17 08:42:43 +00:00
107fe7c081
less: improve search when data is not supplied fast enough by stdin - now will try reading for 1-2 seconds before declaring that there is no match. This fixes a very common annoyance with long manpages.
Denis Vlasenko
2008-03-17 08:38:45 +00:00
aefed941c2
tcpsvd,udpsvd: make them NOMMU-capable inetd: make udp nowait work
Denis Vlasenko
2008-03-17 08:35:44 +00:00
3f165fa5b3
libbb: introduce and use sigprocmask_allsigs and sigaction_set. libbb: rename sig_pause to wait_for_any_sig.
Denis Vlasenko
2008-03-17 08:29:08 +00:00
8e2cfec1cd
libbb: introduse and use signal_[no_]SA_RESTART_empty_mask and sigaction_set
Denis Vlasenko
2008-03-12 23:19:35 +00:00
4cf1d08fc2
nc: remove a bit of bloat inetd: more NOMMU fixes rx: shrink devfsd: minor shrink vlock: shrink tcpudp: narrow down window where we have no wildcard socket
Denis Vlasenko
2008-03-12 23:13:50 +00:00
4e6d5117b8
inetd: make it NOMMU-capable and IPv6-friendly. Lots of renames of variable/function names
Denis Vlasenko
2008-03-12 22:14:34 +00:00
4e6c8120a5
crond: make it NOMMU-capable
Denis Vlasenko
2008-03-12 22:10:25 +00:00
35e9c5d83a
fixups to vi usage, and move the initial redraw() past the execution of commands supplied by -c or EXINIT, so their effect is displayed correctly.
Paul Fox
2008-03-06 16:26:12 +00:00
c51fc7bed6
fixed the "dot" (i.e. '.') command, to properly re-init its buffer between commands, not recalculate its length all the time, and to not reallocate its fixed-length buffer frequently.
Paul Fox
2008-03-06 01:34:23 +00:00
b4a5087ee0
define DEBUG as 0, for when ENABLE_FEATURE_DEVPTS is not on.
Paul Fox
2008-03-05 22:01:45 +00:00
4917c11432
fix vi's '?' and '/' commands to correctly set a new direction when reusing a previous search pattern. previously only 'n' and 'N' reversed directions properly.
Paul Fox
2008-03-05 16:44:02 +00:00
a43dba76ea
msh: create testsuite (based on hush one) hush: add TODO (doesn't know ":" command)
Denis Vlasenko
2008-03-02 19:57:53 +00:00
444639cc21
unlzma: save a few more bytes, and maybe even a bit faster now
Denis Vlasenko
2008-03-02 18:56:23 +00:00
c3fff877e1
unlzma: if !LZMA_FAST, save ~200 more bytes (Pascal Bellard <pascal.bellard AT ads-lu.com>)
Denis Vlasenko
2008-03-02 18:55:49 +00:00
4aafd5f4e3
msh: a few fields renamed; short->int conversion for a field holding file descriptors; short->smalling for flag field
Denis Vlasenko
2008-03-02 14:33:26 +00:00
fb29038b59
libbb: inntroduce and use bb_pstrcmp() and qsort_string_vector() msh: glob0/glob1/glob2/glob3 are just a sorting routine! remove them.
Denis Vlasenko
2008-03-02 12:51:26 +00:00
da8ae75340
doc: add info about sed s/.../.../I modifier
Denis Vlasenko
2008-03-01 19:29:56 +00:00
fe2188378c
msh: fix for bug 846 ("break" didn't work second time) msh: don't use floating point in "times" builtin +4 bytes difference
Denis Vlasenko
2008-03-01 09:35:39 +00:00