Denys Vlasenko [Thu, 18 Jun 2009 19:55:47 +0000 (21:55 +0200)]
mkswap: generate UUID if CONFIG_DESKTOP=y. +110 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 18 Jun 2009 17:59:51 +0000 (19:59 +0200)]
tweak to config wording, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 18 Jun 2009 11:23:58 +0000 (13:23 +0200)]
tweak Config texts and some broken English elsewhere
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 18 Jun 2009 06:20:02 +0000 (08:20 +0200)]
fsync: new applet by Pekka Pessi (Pekka.Pessi AT nokia.com)
function old new delta
fsync_main - 128 +128
fdatasync - 39 +39
packed_usage 26596 26622 +26
applet_names 2098 2104 +6
applet_main 1240 1244 +4
applet_nameofs 620 622 +2
applet_install_loc 155 156 +1
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 5/0 up/down: 206/0) Total: 206 bytes
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 17 Jun 2009 18:33:50 +0000 (20:33 +0200)]
modprobe: do not use ->probed_name blidly
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 17 Jun 2009 16:46:06 +0000 (18:46 +0200)]
modprobe: correct exitcode handling and error messages with respect to -q
function old new delta
do_modprobe 319 339 +20
bb_delete_module 10 26 +16
moderror 62 71 +9
bb_init_module 112 119 +7
modprobe_main 488 494 +6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/0 up/down: 58/0) Total: 58 bytes
Signed-off-by: Gilles Espinasse <g.esp@free.fr>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 17 Jun 2009 12:03:24 +0000 (14:03 +0200)]
switch_root: allow /init to be a symlink; add doc (thanks Rob!)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 17 Jun 2009 11:56:50 +0000 (13:56 +0200)]
udhcp: cosmetics in arpping.c, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 17 Jun 2009 11:44:04 +0000 (13:44 +0200)]
udhcp: convert old-style logging in print_static_leases
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 17 Jun 2009 11:24:03 +0000 (13:24 +0200)]
udhcp: logging improvements, field and variable renames
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 17 Jun 2009 11:22:26 +0000 (13:22 +0200)]
examples/udhcp/udhcpd.conf: update
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 17 Jun 2009 09:58:11 +0000 (11:58 +0200)]
udhcpc: fix format of one log message
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 17 Jun 2009 09:57:09 +0000 (11:57 +0200)]
udhcp: shorten mac len from 16 to 6 in lease file
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 17 Jun 2009 09:54:52 +0000 (11:54 +0200)]
udhcp: change UDHCP_DEBUG into int, make verbosity selectable with -v
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 16 Jun 2009 10:05:21 +0000 (12:05 +0200)]
udhcp: add a few TODOs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 16 Jun 2009 10:04:23 +0000 (12:04 +0200)]
udhcp: rename server/client_config.arp to server_mac and client_mac
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 16 Jun 2009 10:03:12 +0000 (12:03 +0200)]
udhcp: cleanup of static lease handling
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 16 Jun 2009 08:25:35 +0000 (10:25 +0200)]
udhcp: rename sprintip to sprint_nip, siaddr to siaddr_nip
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 16 Jun 2009 08:23:55 +0000 (10:23 +0200)]
udhcp: rename giaddr to gateway_nip and server to server_nip
"nip" stands for "IP in network order"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 16 Jun 2009 08:23:01 +0000 (10:23 +0200)]
udhcp: rename fields in struct dhcpOfferedAddr
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 16 Jun 2009 08:20:27 +0000 (10:20 +0200)]
udhcpd: don't fail ARP check if returned MAC matches client's one
Also, do not unicast replies to yiaddr.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 15 Jun 2009 16:13:51 +0000 (18:13 +0200)]
install: compat fix for mode of created files.
By Mat Hostetter (mhostetter AT tilera.com)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 15 Jun 2009 13:47:58 +0000 (15:47 +0200)]
seq: fix input handling in non-C locales
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 15 Jun 2009 10:44:11 +0000 (12:44 +0200)]
vi: do not accept uppercase comments (compat). Closes bug 397.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 15 Jun 2009 07:50:54 +0000 (09:50 +0200)]
libbb: stop using bb_strtod for now
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 15 Jun 2009 07:16:27 +0000 (09:16 +0200)]
seq: fix testsuite failures
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 14 Jun 2009 17:42:12 +0000 (19:42 +0200)]
ash: fix . builtin
Also, move [[ ]] comment to test.c and expand it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 13 Jun 2009 21:41:57 +0000 (23:41 +0200)]
fix or document testsuite failures
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 13 Jun 2009 20:49:08 +0000 (22:49 +0200)]
test, tcpsvd, tcpsvd: shrink
function old new delta
nexpr 825 826 +1
tcpudpsvd_main 1830 1822 -8
test_main 257 247 -10
binop 584 525 -59
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/3 up/down: 1/-77) Total: -76 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 13 Jun 2009 14:35:20 +0000 (16:35 +0200)]
fix permissions in testsuite
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 12 Jun 2009 13:32:51 +0000 (15:32 +0200)]
Update POSIX compliance table
Signed-off-by: Max Panasenkov <panmax@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 12 Jun 2009 11:16:21 +0000 (13:16 +0200)]
readlink: support -n, -v, -s and -q too if support for -f is requested
function old new delta
readlink_main 104 135 +31
packed_usage 26322 26321 -1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 31/-1) Total: 30 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 11 Jun 2009 17:30:19 +0000 (19:30 +0200)]
ash: revert over-zealous usage of FAST_FUNC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 10 Jun 2009 12:09:48 +0000 (14:09 +0200)]
added comments about [[ ]] to ash and hush. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 10 Jun 2009 11:39:35 +0000 (13:39 +0200)]
hush: add HUSH_BASH_COMPAT, make [[ special handling depend on it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 10 Jun 2009 11:38:08 +0000 (13:38 +0200)]
telnetd: more compact version of the fix for stray open fds
function old new delta
telnetd_main 1520 1527 +7
make_new_session 510 416 -94
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 7/-94) Total: -87 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 9 Jun 2009 21:01:24 +0000 (23:01 +0200)]
telnetd: properly close fds in child
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 9 Jun 2009 16:40:52 +0000 (18:40 +0200)]
hush: specially handle [[ - suppress globbing & multiword expansion
It's a bashism, but is surprisingly easy to do and costs very little code.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 9 Jun 2009 16:40:07 +0000 (18:40 +0200)]
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 9 Jun 2009 10:55:13 +0000 (12:55 +0200)]
diff: tiny compat tweak
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 7 Jun 2009 14:05:04 +0000 (16:05 +0200)]
hush: drop REDIRECT_INVALID; other minor tweaks
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 7 Jun 2009 14:04:17 +0000 (16:04 +0200)]
hush: fix a segfault in export builtin
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 7 Jun 2009 14:02:00 +0000 (16:02 +0200)]
stop using non-standard macro, use WEXITSTATUS instead
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 6 Jun 2009 18:59:55 +0000 (20:59 +0200)]
hush: make builtins work in pipes (eval ... | ...) on NOMMU
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 5 Jun 2009 19:53:11 +0000 (21:53 +0200)]
ifupdown: if $PATH is not set, do not set it to "" in children
Also random code shrink:
function old new delta
set_environ 328 330 +2
static.label_buf 4 - -4
startup_PATH 4 - -4
my_environ 4 - -4
ifupdown_main 2148 2134 -14
setlocalenv 117 90 -27
get_var 139 112 -27
------------------------------------------------------------------------------
(add/remove: 0/3 grow/shrink: 1/3 up/down: 2/-80) Total: -78 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 5 Jun 2009 18:42:40 +0000 (20:42 +0200)]
ftpd: allow multiple -S options to increase verbosity too, like -v
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 5 Jun 2009 14:24:29 +0000 (16:24 +0200)]
printf: accept negative numbers for %x; sh: overflowed numbers are 0
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 5 Jun 2009 13:35:36 +0000 (15:35 +0200)]
inetd: comment why we redirect stderr to network
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 5 Jun 2009 12:55:26 +0000 (14:55 +0200)]
*: reduce #ifdef forest
Remove unnecessary #if statements from the "more", "script", and
"scriptreplay" commands. Bloatcheck says 0 bytes changed.
Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 5 Jun 2009 10:06:05 +0000 (12:06 +0200)]
*: add FAST_FUNC to function ptrs where it makes sense
function old new delta
evalcommand 1195 1209 +14
testcmd - 10 +10
printfcmd - 10 +10
echocmd - 10 +10
func_exec 270 276 +6
echo_dg 104 109 +5
store_nlmsg 85 89 +4
pseudo_exec_argv 195 198 +3
dotcmd 287 290 +3
machtime_stream 29 31 +2
discard_stream 24 26 +2
argstr 1299 1301 +2
killcmd 108 109 +1
evalfor 226 227 +1
daytime_stream 43 44 +1
run_list 2544 2543 -1
lookupvar 62 61 -1
ipaddr_modify 1310 1309 -1
...
parse_stream 2254 2245 -9
evalpipe 356 347 -9
collect_if 210 197 -13
read_opt 869 851 -18
handle_dollar 681 658 -23
print_addrinfo 1342 1303 -39
iterate_on_dir 156 59 -97
print_route 1709 1609 -100
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 12/130 up/down: 74/-767) Total: -693 bytes
text data bss dec hex filename
841748 467 7872 850087 cf8a7 busybox_old
841061 467 7872 849400 cf5f8 busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 4 Jun 2009 17:03:20 +0000 (19:03 +0200)]
ftpd: fix a case when with -w unknown commands are ignored with no error code
Signed-off-by: Stefan Seyfried <seife@suse.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Bernhard Reutner-Fischer [Wed, 3 Jun 2009 18:35:26 +0000 (20:35 +0200)]
rename CONFIG_FEATURE_TAR_GZIP
CONFIG_FEATURE_TAR_GZIP was renamed to CONFIG_FEATURE_SEAMLESS_GZ.
Adjust testsuite accordingly.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Denys Vlasenko [Wed, 3 Jun 2009 13:19:03 +0000 (15:19 +0200)]
tweak docs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 3 Jun 2009 12:43:56 +0000 (14:43 +0200)]
hush: document a TODO in export builtin
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 3 Jun 2009 12:37:30 +0000 (14:37 +0200)]
hush: fix a case when backgrounded cmd makes shell hang
Signed-off-by: Bayram Kurumahmut <kbayram@ubicom.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 3 Jun 2009 10:47:26 +0000 (12:47 +0200)]
hush: add support for local builtin
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Mike Frysinger [Mon, 1 Jun 2009 20:37:27 +0000 (16:37 -0400)]
bloat-o-meter: touchup argv handling
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reported-by: Matt Mackall <mpm@selenic.com>
Mike Frysinger [Mon, 1 Jun 2009 20:34:11 +0000 (16:34 -0400)]
bloat-o-meter: fix tab/space mixing
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 1 Jun 2009 20:33:05 +0000 (16:33 -0400)]
hush_test: stop mixing tabs/spaces for indentation
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 1 Jun 2009 18:15:04 +0000 (14:15 -0400)]
gitignore: add debugging related files
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 1 Jun 2009 18:14:36 +0000 (14:14 -0400)]
hush: unify syntax_error_unterm_{ch,str} a bit
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 1 Jun 2009 18:13:39 +0000 (14:13 -0400)]
hush: push down expansion var in handle_dollar()
Declare the variable in the scope it is used rather than the entire
function scope so it's obvious it is only used there.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 1 Jun 2009 18:09:09 +0000 (14:09 -0400)]
hush: add support for special vars in braces
Some people like to use ${?} rather than $?, so make sure we support all
the special single char vars that use this form.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 1 Jun 2009 18:08:09 +0000 (14:08 -0400)]
hush_test: filter test output to avoid C lib differences
The getopt function in some C libraries wraps the option in single quotes
while others do not. Avoid the issue by running sed on the output and
strip all quotes.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 1 Jun 2009 18:02:49 +0000 (14:02 -0400)]
lineedit: fix warning about unused label when VI editing is disabled
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Denys Vlasenko [Mon, 1 Jun 2009 09:26:30 +0000 (11:26 +0200)]
nc, hush: cosmetic cleanups, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Fri, 29 May 2009 08:39:06 +0000 (10:39 +0200)]
read_key: drop optimization where we read 3 bytes at once
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 28 May 2009 15:07:22 +0000 (17:07 +0200)]
hust: trivial simplification in builtin_type
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 28 May 2009 14:49:11 +0000 (16:49 +0200)]
hush: fix bug 353 (wrong handling of \x in assignments)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 28 May 2009 07:58:43 +0000 (09:58 +0200)]
hush: optimize type builtin a bit more
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 28 May 2009 07:45:50 +0000 (09:45 +0200)]
hush: optimize type builtin a bit
function old new delta
builtin_type 130 125 -5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Mike Frysinger [Thu, 28 May 2009 04:47:14 +0000 (00:47 -0400)]
only build common libarchive objs when needed
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Denys Vlasenko [Thu, 28 May 2009 01:54:29 +0000 (03:54 +0200)]
modprobe: fix more bugs in modprobe -r
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Thu, 28 May 2009 00:03:29 +0000 (02:03 +0200)]
cpio.tests: fix false positive
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Mike Frysinger [Wed, 27 May 2009 21:06:25 +0000 (17:06 -0400)]
hush: implement `type`
Implement support for the POSIX `type` command. Only POSIX stuff is
supported here, no bash extensions like -p or -P.
In the process, split the $PATH searching code out of builtin_source() and
into its own find_in_path() function so we don't duplicate it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Denys Vlasenko [Wed, 27 May 2009 12:39:35 +0000 (14:39 +0200)]
hush: remove outdated TODO and superfluous macro; fix compile breakage
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
David Krakov [Tue, 26 May 2009 23:42:34 +0000 (19:42 -0400)]
POSIX conformance documentation for busybox
Attached a start for POSIX conformance documentation for busybox (see
TODO file and discussion last week).
A table of all options as defined by POSIX and as implemented by
busybox (see for a FreeBSD example
http://people.freebsd.org/~schweikh/posix-utilities.html).
Only the tools that are stand-alone applets are documented (not ash
built-ins as 'read'), as there are multiple shells.
When there are two versions (echo) the stand-alone version was
checked. I think this may be the wrong way to go, as most users will
probably use the built-in version - but which shell?
The table was auto-generated by running, for each POSIX utility,
latest git allyesconfig* "busybox <tool> --help" and parsing the
output, and comparing that to tool options extracted from its man page
at http://www.opengroup.org/onlinepubs/
9699919799/.
This means that it the usage string is not correct, the table is also
wrong. I noticed that for 'kill', for example, the usage string does
not mention the -s, -q, -o options.
For each option is set whether it exists in busybox and if it is, is
it compliant to the standard. Of course, checking compliance can only
be done manually - a process which will probably take some time (see
'cat' for example).
I didn't post the auto-generation script (python, ugly) because the
table will now change manually; I can post it if there is anyone
interested.
As for the tools not implemented by busybox at all, I think most of
them are indeed fairly esotetic. Some I was suprised to see missing
are link, file, newgrp, unlink.
* Well, almost allyesconfig - but nothing very POSIX-y was disabled.
Signed-off-by: David Krakov <krakov@gmail.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Denys Vlasenko [Tue, 26 May 2009 12:39:41 +0000 (14:39 +0200)]
hush: tweak comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 26 May 2009 12:34:10 +0000 (14:34 +0200)]
hush: rename last_waitpid_was_0 to we_have_children
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 26 May 2009 10:48:34 +0000 (12:48 +0200)]
modprobe: fix modprobe -r. closes bug 315
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 25 May 2009 14:38:32 +0000 (16:38 +0200)]
hush: fix SIGCHLD counting code, but keep it disabled for now.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 25 May 2009 02:15:37 +0000 (04:15 +0200)]
flash_lock, flash_unlock: new applets
By Thierry Reding (thierry.reding AT avionic-design.de)
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 23 May 2009 15:00:13 +0000 (17:00 +0200)]
make compound.tests executable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sat, 23 May 2009 14:50:07 +0000 (16:50 +0200)]
hush: fix problems with case in subshells and with "case esac"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Mike Frysinger [Thu, 21 May 2009 22:35:37 +0000 (18:35 -0400)]
hush_test: add some pathological compound list tests
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 21 May 2009 22:24:21 +0000 (18:24 -0400)]
hush_test: test for subshell function syntax
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 21 May 2009 22:09:24 +0000 (18:09 -0400)]
hush_test: add subshelled case tests
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 21 May 2009 21:58:15 +0000 (17:58 -0400)]
hush_test: update test output to match new getopt() output
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 21 May 2009 21:45:26 +0000 (17:45 -0400)]
hush_test: ignore generated files
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Denys Vlasenko [Wed, 20 May 2009 21:21:42 +0000 (23:21 +0200)]
hdparm: fix a thinko in a previous commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 20 May 2009 19:50:29 +0000 (21:50 +0200)]
Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busybox
Denys Vlasenko [Wed, 20 May 2009 14:11:41 +0000 (16:11 +0200)]
hdparm: code shrink
function old new delta
parse_opts_0_INTMAX - 12 +12
parse_opts_0_1 - 12 +12
parse_opts_0_max - 9 +9
parse_opts 44 36 -8
process_dev 4679 4578 -101
hdparm_main 1061 854 -207
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 0/3 up/down: 33/-316) Total: -283 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 20 May 2009 12:48:03 +0000 (14:48 +0200)]
hdparm: correct (t & 1) ? '0' : '5' thinko; wrap 80+ col lines
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Wed, 20 May 2009 12:10:50 +0000 (14:10 +0200)]
Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busybox
Denys Vlasenko [Wed, 20 May 2009 10:20:48 +0000 (12:20 +0200)]
Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busybox
Mike Frysinger [Wed, 20 May 2009 08:48:06 +0000 (04:48 -0400)]
hush: fix build failure when jobs are disabled
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reported-by: Thomas Chou <thomas@wytron.com.tw>
Denys Vlasenko [Tue, 19 May 2009 16:01:42 +0000 (18:01 +0200)]
appletlib.c: prevent applet list overflowing screen
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 19 May 2009 15:36:16 +0000 (17:36 +0200)]
scriptreplay: new applet. +423 bytes
Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 19 May 2009 11:18:45 +0000 (13:18 +0200)]
add platform tweaks
login: consider platforms having no domainname field in the utsname struct
include/platform.h: define IUCLC to 0 on platforms where it is not defined
Signed-off-by: Luca Favatella <slackydeb@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Mon, 18 May 2009 21:50:03 +0000 (23:50 +0200)]
awk: put at least one NUL between $n. Hopefully closes 337.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>