4f26c97b9a
make compound.tests executable
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-23 17:00:13 +02:00
e9bda90e54
hush: fix problems with case in subshells and with "case esac"
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-23 16:50:07 +02:00
342a63d659
hush_test: add some pathological compound list tests
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-05-21 18:35:37 -04:00
12bcc76e9b
hush_test: test for subshell function syntax
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-05-21 18:35:08 -04:00
7b424fe738
hush_test: add subshelled case tests
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-05-21 18:09:24 -04:00
cc9205bda7
hush_test: update test output to match new getopt() output
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-05-21 17:58:15 -04:00
33f85eeac5
hush_test: ignore generated files
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-05-21 17:45:26 -04:00
2b132e5139
hdparm: fix a thinko in a previous commit
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-20 23:21:42 +02:00
d8aeba4eed
Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busybox
2009-05-20 21:50:29 +02:00
c706845539
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 >
2009-05-20 16:11:41 +02:00
6d335be211
hdparm: correct (t & 1) ? '0' : '5' thinko; wrap 80+ col lines
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-20 14:48:03 +02:00
73f3799236
Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busybox
2009-05-20 14:10:50 +02:00
e18255d1da
Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busybox
2009-05-20 12:20:48 +02:00
38478a600f
hush: fix build failure when jobs are disabled
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
Reported-by: Thomas Chou <thomas@wytron.com.tw >
2009-05-20 04:48:06 -04:00
0149f02a72
appletlib.c: prevent applet list overflowing screen
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-19 18:01:42 +02:00
5e61115ea4
scriptreplay: new applet. +423 bytes
...
Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-19 17:36:16 +02:00
5a49d284a6
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 >
2009-05-19 13:18:45 +02:00
e424423a7b
awk: put at least one NUL between $n. Hopefully closes 337.
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-18 23:50:03 +02:00
167cd709df
gzip: fix gzip with many files corrupting some files after first
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-18 13:08:57 +02:00
16bda3bd1f
depmod: fix handling of .gz modules
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-18 13:08:04 +02:00
c396fe6306
lineedit: small fixes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-17 19:28:14 +02:00
020f40693a
line editing: add an option to emit ESC [ 6 n and use results
...
This makes line editing able to recognize case when
cursor was not at the beginning of the line. It may also
be adapted later to find out display size (serial line users
would love it).
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-17 16:44:54 +02:00
071ede1e5d
xmalloc_[open_]read[_close]: do not ignore xrealloc return value
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-15 23:23:23 +02:00
c15f40c3e7
lineedit: use read_key to recognize ESC sequence.
...
This fixes several vi mode bugs and prepares for further fixes.
function old new delta
read_line_input 3287 5511 +2224
remember_in_history - 499 +499
lineedit_read_key - 70 +70
read_key 321 332 +11
input_tab 2823 - -2823
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 2/0 up/down: 2804/-2823) Total: -19 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-15 03:27:53 +02:00
1b0a93edb9
adduser/addgroup: make system id range configurable.
...
By Tito (farmatito AT tiscali.it).
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-14 00:23:34 +02:00
810b7161dc
mount: save 80 bytes by forced de-inlining
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-13 23:48:59 +02:00
e71dd7c1db
mount: document when kernel started accepting string as NFS options
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-13 16:32:32 +02:00
7a5814c74c
split website off into dedicated git repo
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-05-13 01:48:00 -04:00
318a8e5ed5
TODO: add some
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-13 02:18:43 +02:00
845142e106
Adjust names, link contributing info in main index
...
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com >
2009-05-11 22:51:49 +02:00
f427c80d02
sysctl: stop abusing parser->line
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-10 23:41:29 +02:00
c8ab67cad8
tftp: do not risk invoking Sorcerer's Apprentice syndrome
...
examples/udhcp/simple.script: fix incorrect test for $1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-10 23:27:43 +02:00
8082ea1000
test commit
...
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com >
2009-05-08 18:22:52 +02:00
b5d5245f46
Revert "test commit"
...
This reverts commit 8606aba04b
.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com >
2009-05-08 18:19:58 +02:00
8606aba04b
test commit
2009-05-08 18:18:42 +02:00
af61b2a5ad
LICENSE: update address of the FSF
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-05-06 05:28:53 -04:00
1e12ae9059
modprobe: add comment about expected modules.dep format
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-05-06 05:24:41 -04:00
2b6497ba84
depmod.pl: updates and fixes galore
...
The helper script needs updating to match latest busybox modprobe behavior
in that all dependencies need to be listed, not just the immediate ones.
Along the way, fix symbol prefixed ports, optimize the output, and add
some more depmod compatible options.
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-05-05 20:14:12 -04:00
00ffaeab80
modprobe: add more useful debug points
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-05-05 20:13:45 -04:00
3322351724
add .gitignore files
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-05-05 09:05:30 -04:00
4f239b1bb4
libunarchive: fix build failure with !FEATURE_TAR_UNAME_GNAME
...
We can't use C if(...) with ENABLE_FEATURE_TAR_UNAME_GNAME because it
relies on conditional members in the file_header_t structure:
archival/libunarchive/data_extract_all.c: In function ‘data_extract_all’:
archival/libunarchive/data_extract_all.c:123: error: ‘file_header_t’ has no member named ‘uname’
archival/libunarchive/data_extract_all.c:124: error: ‘file_header_t’ has no member named ‘uname’
archival/libunarchive/data_extract_all.c:127: error: ‘file_header_t’ has no member named ‘gname’
archival/libunarchive/data_extract_all.c:128: error: ‘file_header_t’ has no member named ‘gname’
make[1]: *** [archival/libunarchive/data_extract_all.o] Error 1
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2009-05-05 07:00:27 -04:00
76f5e38c82
mdev: revert last wrong commit
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-04 21:59:05 +02:00
6245202e7f
hush: small fix for unset -f on NOMMU.
...
Signed-off-by: root <root@localhost.localdomain >
2009-05-04 12:00:19 +02:00
62851171db
fix debug message
...
Print the mime-type only after it has been set.
Add possible TODOs: use TCP_CORK, parse_config()
2009-05-04 09:57:25 +02:00
acdc49c073
hush: add more complex case to leak testcase, fix found breakage
...
function old new delta
unset_local_var_len - 167 +167
run_list 2350 2457 +107
set_vars_and_save_old - 87 +87
free_pipe 207 227 +20
builtin_unset 220 229 +9
builtin_exit 49 47 -2
free_strings_and_unset 53 - -53
set_vars_all_and_save_old 87 - -87
unset_local_var 168 - -168
------------------------------------------------------------------------------
(add/remove: 2/3 grow/shrink: 3/1 up/down: 390/-310) Total: 80 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-04 01:58:10 +02:00
cb6ff25afe
hush: fix bug where in "var=val func" var's value is not visible in func
...
function old new delta
unset_local_var - 168 +168
set_vars_all_and_save_old - 87 +87
get_ptr_to_local_var - 77 +77
free_strings_and_unset - 53 +53
builtin_export 266 274 +8
get_local_var_value 31 33 +2
putenv_all 27 - -27
free_strings_and_unsetenv 53 - -53
get_local_var 68 - -68
run_list 2475 2350 -125
builtin_unset 380 220 -160
------------------------------------------------------------------------------
(add/remove: 4/3 grow/shrink: 2/2 up/down: 395/-433) Total: -38 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-04 00:14:30 +02:00
e19e1935a3
hush: fix \<newline> handling
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-03 02:15:18 +02:00
b1cfc45376
hush: fix handling of unterminated subshell: (<eof>. Fixes bug 229.
...
function old new delta
syntax_error_unexpected_ch 31 41 +10
parse_stream 2184 2191 +7
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-02 17:18:34 +02:00
aa0a12d549
mdev: do not exit if user:group parse failed. closes bug 309.
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-02 16:33:10 +02:00
1dd6cf8677
hush: fix multiple redirections of the same fd (bug 227)
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-05-02 14:17:31 +02:00