Denis Vlasenko [Thu, 12 Oct 2006 19:30:44 +0000 (19:30 -0000)]
fdisk: separate sun/aix/etc code into #included files
Denis Vlasenko [Thu, 12 Oct 2006 19:29:44 +0000 (19:29 -0000)]
small style fixes
Denis Vlasenko [Thu, 12 Oct 2006 06:15:13 +0000 (06:15 -0000)]
execable: no need to check getenv for NULL, it works anyway.
Denis Vlasenko [Thu, 12 Oct 2006 06:12:11 +0000 (06:12 -0000)]
execable.c: forgot to do "svn add" again...
Denis Vlasenko [Wed, 11 Oct 2006 22:16:56 +0000 (22:16 -0000)]
ifupdown: stop emitting annoying/misleading error messages.
Patch by Gabriel Somlo <somlo at cmu.edu>
Denis Vlasenko [Wed, 11 Oct 2006 21:38:33 +0000 (21:38 -0000)]
hush.c: stop using __FILE__ (bad in out-of-tree builds)
Denis Vlasenko [Wed, 11 Oct 2006 21:24:42 +0000 (21:24 -0000)]
build system: fix build in separate obj tree
Denis Vlasenko [Wed, 11 Oct 2006 20:59:02 +0000 (20:59 -0000)]
nmeter: new applet. ~4k
Fix build proble on x86_64
Denis Vlasenko [Tue, 10 Oct 2006 23:26:05 +0000 (23:26 -0000)]
od: provide full-blown od from coreutils if CONFIG_DESKTOP
Denis Vlasenko [Tue, 10 Oct 2006 21:00:47 +0000 (21:00 -0000)]
fixes from Vladimir Dronnikov <dronnikov@gmail.ru>
Bernhard Reutner-Fischer [Tue, 10 Oct 2006 15:28:41 +0000 (15:28 -0000)]
- add option -t
mkinitrd and mkinitramfs both require -t.
Denis Vlasenko [Mon, 9 Oct 2006 19:47:38 +0000 (19:47 -0000)]
build system: fix for non-i386 builds
Denis Vlasenko [Sun, 8 Oct 2006 23:36:17 +0000 (23:36 -0000)]
start_stop_daemon: add -N <nice> compat
[re]nice: add support for -nNNN w/o spaces, -NNN (nice only),
simplified code
Denis Vlasenko [Sun, 8 Oct 2006 17:54:47 +0000 (17:54 -0000)]
correct largefile support, add comments about it.
Denis Vlasenko [Sun, 8 Oct 2006 12:49:22 +0000 (12:49 -0000)]
attempt to regularize atoi mess.
Denis Vlasenko [Sat, 7 Oct 2006 16:24:46 +0000 (16:24 -0000)]
dd: make it recognize not only 'k' but 'K' too;
make it (partially) CONFIG_LFS-aware
Denis Vlasenko [Sat, 7 Oct 2006 15:16:19 +0000 (15:16 -0000)]
awk: && -> & in "n->info && OPCLSMASK" - fixes bug 1067
Denis Vlasenko [Sat, 7 Oct 2006 15:00:29 +0000 (15:00 -0000)]
eject: remove unmounting. It is buggy for many non-trivial
mounts, and can be done as shell script.
Denis Vlasenko [Sat, 7 Oct 2006 14:28:55 +0000 (14:28 -0000)]
wget: don't be careless with xstrdup'ing
Denis Vlasenko [Sat, 7 Oct 2006 14:28:28 +0000 (14:28 -0000)]
wget: fix download of URLs like:
http://busybox.net?var=a/b
http://busybox.net?login=john@doe
http://busybox.net#test/test
Denis Vlasenko [Fri, 6 Oct 2006 16:14:12 +0000 (16:14 -0000)]
build system: do not generate include/linux
Denis Vlasenko [Fri, 6 Oct 2006 13:51:04 +0000 (13:51 -0000)]
build system: remove loeftover (two empty dirs)
Denis Vlasenko [Fri, 6 Oct 2006 09:49:47 +0000 (09:49 -0000)]
dnsd fix; option_mask32 added. dnsd needs more love.
Denis Vlasenko [Fri, 6 Oct 2006 08:54:49 +0000 (08:54 -0000)]
chpst: fix vda's silly mistakes
Patch by Vladimir Dronnikov <dronnikov@gmail.ru>
Denis Vlasenko [Thu, 5 Oct 2006 23:12:49 +0000 (23:12 -0000)]
eject: -T fix
Denis Vlasenko [Thu, 5 Oct 2006 22:50:22 +0000 (22:50 -0000)]
httpd: add -u user[:grp] support
Denis Vlasenko [Thu, 5 Oct 2006 21:10:53 +0000 (21:10 -0000)]
which: -84 bytes
Denis Vlasenko [Thu, 5 Oct 2006 18:26:35 +0000 (18:26 -0000)]
make defconfig now works
Denis Vlasenko [Thu, 5 Oct 2006 17:42:55 +0000 (17:42 -0000)]
yet another fixlet: make clean/distclean/mrproper
Denis Vlasenko [Thu, 5 Oct 2006 17:11:08 +0000 (17:11 -0000)]
fixing build system overhaul fallout...
Denis Vlasenko [Thu, 5 Oct 2006 10:26:05 +0000 (10:26 -0000)]
build system: small optimization
Denis Vlasenko [Thu, 5 Oct 2006 10:17:08 +0000 (10:17 -0000)]
build system overhaul
Denis Vlasenko [Tue, 3 Oct 2006 21:00:43 +0000 (21:00 -0000)]
bb_applet_name -> applet_name
Denis Vlasenko [Tue, 3 Oct 2006 21:00:06 +0000 (21:00 -0000)]
getopt_ulflags -> getopt32.
It is impossible to formulate sane ABI based on
size of ulong because it can be 32-bit or 64-bit.
Basically it means that you cannot portably use
more that 32 option chars in one call anyway...
Make it explicit.
Denis Vlasenko [Tue, 3 Oct 2006 20:28:06 +0000 (20:28 -0000)]
rename bb_default_error_retval -> xfunc_error_retval
Denis Vlasenko [Tue, 3 Oct 2006 19:57:50 +0000 (19:57 -0000)]
fdformat: remove redundant check
Denis Vlasenko [Tue, 3 Oct 2006 19:56:34 +0000 (19:56 -0000)]
lots of silly indent fixes
Denis Vlasenko [Tue, 3 Oct 2006 19:02:20 +0000 (19:02 -0000)]
random style fixes
Denis Vlasenko [Tue, 3 Oct 2006 18:19:02 +0000 (18:19 -0000)]
traceroute: fix compilation if netinet/protocols.h is missing
Denis Vlasenko [Tue, 3 Oct 2006 17:52:24 +0000 (17:52 -0000)]
Yeah, yeah... I forgot about 'svn add'... fixing that
Denis Vlasenko [Tue, 3 Oct 2006 15:57:40 +0000 (15:57 -0000)]
runit/chpst: "change process state" utility
It's "nice" on steroids - can set uid/gid, mem/cpu limits etc. +3.5k
Denis Vlasenko [Tue, 3 Oct 2006 10:47:35 +0000 (10:47 -0000)]
traceroute: do not look up icmp protocol# in /etc, it is well-known :)
Denis Vlasenko [Mon, 2 Oct 2006 20:57:10 +0000 (20:57 -0000)]
ifupdown: Debian users contributed improvement to it
Denis Vlasenko [Mon, 2 Oct 2006 20:49:25 +0000 (20:49 -0000)]
eject: -T (implements single button open/close)
Denis Vlasenko [Mon, 2 Oct 2006 18:52:49 +0000 (18:52 -0000)]
mount: accept and ignore -s (sloppy) option.
needed for compatibility with Linux automounter.
Denis Vlasenko [Sun, 1 Oct 2006 21:37:40 +0000 (21:37 -0000)]
sed: -e options were handled in reverse order. fix that.
Denis Vlasenko [Sun, 1 Oct 2006 21:05:12 +0000 (21:05 -0000)]
sed: unbreak multiple -e, -f option handling (my fault)
Denis Vlasenko [Sun, 1 Oct 2006 16:44:04 +0000 (16:44 -0000)]
gzip: add a bit of comment. The code itself
is too bloated to work on it...
Denis Vlasenko [Sun, 1 Oct 2006 15:55:11 +0000 (15:55 -0000)]
g[un]zip: add support for -v (verbose).
Add CONFIG_DESKTOP, almost all bloat from this change
is hidden under that.
Denis Vlasenko [Sun, 1 Oct 2006 10:58:54 +0000 (10:58 -0000)]
wget: make progress bar and ETA work correctly with -c
Denis Vlasenko [Sat, 30 Sep 2006 21:05:25 +0000 (21:05 -0000)]
dpkg: fix use-after-free (bug 939)
Denis Vlasenko [Sat, 30 Sep 2006 20:41:44 +0000 (20:41 -0000)]
lsmod: repair indentation
httpd: ifdef CONFIG -> if ENABLE (shorted, catched typos)
Denis Vlasenko [Sat, 30 Sep 2006 19:37:25 +0000 (19:37 -0000)]
vconfig: fix bug 701 (I be damned if I understand it)
Denis Vlasenko [Sat, 30 Sep 2006 19:21:24 +0000 (19:21 -0000)]
syslogd: do not retry udp sends (can stall syslogd for extended periods
of time), resolve remote logging host before daemonization
Denis Vlasenko [Sat, 30 Sep 2006 19:20:00 +0000 (19:20 -0000)]
syslogd: getopt_ulflags'ification (save ~50 bytes)
Denis Vlasenko [Sat, 30 Sep 2006 19:17:40 +0000 (19:17 -0000)]
syslogd: add option to suppress logging of messages lower than level N (-n N)
Denis Vlasenko [Sat, 30 Sep 2006 16:28:30 +0000 (16:28 -0000)]
fbset: store short string in the structure itself instead of the pointer
(small size saving)
Denis Vlasenko [Sat, 30 Sep 2006 16:22:59 +0000 (16:22 -0000)]
fbset: add support for -a (bug 1017)
Denis Vlasenko [Sat, 30 Sep 2006 08:32:41 +0000 (08:32 -0000)]
no-op (just for svn commit run. 2.6.18 oopses on that, need to reproduce)
Denis Vlasenko [Sat, 30 Sep 2006 00:18:16 +0000 (00:18 -0000)]
libiproute/ll_map.c: fix bug 279
("On-demand net module loading fails with CONFIG_FEATURE_IFUPDOWN_IP")
Denis Vlasenko [Fri, 29 Sep 2006 23:41:59 +0000 (23:41 -0000)]
wc: optionally support very large files in wc
Denis Vlasenko [Fri, 29 Sep 2006 23:41:04 +0000 (23:41 -0000)]
wc: reduce source cruft, make it so that "wc -c" (one option, no filenames)
will not print leading blanks.
Rob Landley [Fri, 29 Sep 2006 22:43:12 +0000 (22:43 -0000)]
Mention the new gpl@busybox.net address.
Denis Vlasenko [Fri, 29 Sep 2006 21:47:11 +0000 (21:47 -0000)]
losetup: use /dev/loopN or /dev/loop/N according to CONFIG_FEATURE_DEVFS=n/y
Denis Vlasenko [Fri, 29 Sep 2006 21:30:43 +0000 (21:30 -0000)]
Yet another silly little byte saving. couldn't -> cannot
Denis Vlasenko [Fri, 29 Sep 2006 21:04:12 +0000 (21:04 -0000)]
grep: add help text; fix style
Denis Vlasenko [Fri, 29 Sep 2006 20:58:53 +0000 (20:58 -0000)]
grep: implement -o option. Patch by Jac Goudsmit.
Denis Vlasenko [Fri, 29 Sep 2006 17:16:39 +0000 (17:16 -0000)]
top: add support for -b, -n <iterations>
Denis Vlasenko [Fri, 29 Sep 2006 14:43:20 +0000 (14:43 -0000)]
mount: fix bug 946 (mount -f should update mtab)
Denis Vlasenko [Fri, 29 Sep 2006 13:56:58 +0000 (13:56 -0000)]
getopt_ulflags: fix indentation in comment (needs to be 8 _spaces_
in order to look correct to both 4 tab and 8 tab population).
Add comment about :: (which indicates optional argument).
Denis Vlasenko [Fri, 29 Sep 2006 08:23:42 +0000 (08:23 -0000)]
getopt_ulflags: formatting fixes
Denis Vlasenko [Fri, 29 Sep 2006 08:20:30 +0000 (08:20 -0000)]
xargs: simplify option parsing
Denis Vlasenko [Thu, 28 Sep 2006 22:36:23 +0000 (22:36 -0000)]
rt_names.c: move few strings into rodata
Denis Vlasenko [Thu, 28 Sep 2006 22:35:42 +0000 (22:35 -0000)]
dpkg: style fixes; short -> int (generated code is smaller)
Denis Vlasenko [Thu, 28 Sep 2006 22:34:46 +0000 (22:34 -0000)]
dpkg: reduce bss usage by ~130 kbytes (yes, kilobytes!)
at the cost of ~100 bytes of text.
Improves friendliness to nommu systems.
(Dunno whether nommu people ever use dpkg, though...)
Denis Vlasenko [Thu, 28 Sep 2006 22:31:51 +0000 (22:31 -0000)]
ifupdown: make dhcp start/stop scripts user configurable
in /etc/network/interfaces. Patch author is Gabriel L. Somlo <somlo@cmu.edu>
Denis Vlasenko [Thu, 28 Sep 2006 00:29:00 +0000 (00:29 -0000)]
Tried to find sha1_crypt - nope... ok, save few bytes in md5_sha1_sum.c
(time to sleep, 02:28 in the morning)...
Denis Vlasenko [Wed, 27 Sep 2006 23:31:59 +0000 (23:31 -0000)]
usage.h: fix compile-time bugs exposed by previous change
Denis Vlasenko [Wed, 27 Sep 2006 23:31:08 +0000 (23:31 -0000)]
usage.h: remove ugly tricks. We have USE_FEATURE_xxx now.
Few bugs are now exposed...
Denis Vlasenko [Wed, 27 Sep 2006 19:51:06 +0000 (19:51 -0000)]
silly switch style fix
Denis Vlasenko [Wed, 27 Sep 2006 19:48:56 +0000 (19:48 -0000)]
crontab: we indent using tabs
Denis Vlasenko [Wed, 27 Sep 2006 14:51:27 +0000 (14:51 -0000)]
losetup: with no arguments lists all /dev/loopN. Corrected help text.
(patch by Vladimir Dronnikov <dronnikov@gmail.ru>)
Denis Vlasenko [Wed, 27 Sep 2006 14:25:33 +0000 (14:25 -0000)]
kill: implement killall5. OpenWRT folks will be happy.
However their code was unusably different from sysvinit original.
Run tested.
Denis Vlasenko [Wed, 27 Sep 2006 14:19:16 +0000 (14:19 -0000)]
kill: fix bugs (kill -l output was horrible), fix style, constify data
Denis Vlasenko [Wed, 27 Sep 2006 14:17:31 +0000 (14:17 -0000)]
process utilities related style cleanup
Denis Vlasenko [Wed, 27 Sep 2006 14:14:51 +0000 (14:14 -0000)]
ifupdown: fix for standalone shell; removed hardcoded PATH
Denis Vlasenko [Tue, 26 Sep 2006 20:35:30 +0000 (20:35 -0000)]
ifupdown: style cleanup, no code changes
Denis Vlasenko [Tue, 26 Sep 2006 17:41:00 +0000 (17:41 -0000)]
several fixes from openWRT project
Denis Vlasenko [Tue, 26 Sep 2006 16:31:01 +0000 (16:31 -0000)]
login: fix getopt_ulflags fallout (wasn't taking username supplied by getty)
Denis Vlasenko [Tue, 26 Sep 2006 10:07:41 +0000 (10:07 -0000)]
httpd: sanitize indentation
Denis Vlasenko [Tue, 26 Sep 2006 09:22:12 +0000 (09:22 -0000)]
wget: add (configurable) large file support. Run tested.
Eric Andersen [Mon, 25 Sep 2006 22:18:56 +0000 (22:18 -0000)]
fix 'grep -C' which requires an argument
Denis Vlasenko [Sun, 24 Sep 2006 02:10:03 +0000 (02:10 -0000)]
vlock: make message shorter
Denis Vlasenko [Sun, 24 Sep 2006 01:01:01 +0000 (01:01 -0000)]
mount: fix breakage from recent changes (spurious -ro mounts)
Rob Landley [Sat, 23 Sep 2006 19:56:21 +0000 (19:56 -0000)]
Another attempt at untangling the logic so the compiler can follow it and not
generate pointless warnings.
Denis Vlasenko [Sat, 23 Sep 2006 17:49:09 +0000 (17:49 -0000)]
wget: fix bug where wget creates null file if there is no remote one.
add O_LARGEFILE support (not run tested :).
Denis Vlasenko [Sat, 23 Sep 2006 16:34:39 +0000 (16:34 -0000)]
applets.c: fix indentation
Denis Vlasenko [Sat, 23 Sep 2006 16:01:09 +0000 (16:01 -0000)]
remove unneeded #includes, fix indentation
Denis Vlasenko [Sat, 23 Sep 2006 15:58:01 +0000 (15:58 -0000)]
inetd: deindent main loop, other readability enhancements
Denis Vlasenko [Sat, 23 Sep 2006 15:53:01 +0000 (15:53 -0000)]
hexdump: fixlet for my breakage