oweals/busybox.git
15 years agomodprobe: add more useful debug points
Mike Frysinger [Wed, 6 May 2009 00:13:45 +0000 (20:13 -0400)]
modprobe: add more useful debug points

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoadd .gitignore files
Mike Frysinger [Tue, 5 May 2009 13:05:30 +0000 (09:05 -0400)]
add .gitignore files

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agolibunarchive: fix build failure with !FEATURE_TAR_UNAME_GNAME
Mike Frysinger [Tue, 5 May 2009 11:00:27 +0000 (07:00 -0400)]
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>
15 years agomdev: revert last wrong commit
Denys Vlasenko [Mon, 4 May 2009 19:59:05 +0000 (21:59 +0200)]
mdev: revert last wrong commit

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
15 years agohush: small fix for unset -f on NOMMU.
root [Mon, 4 May 2009 10:00:19 +0000 (12:00 +0200)]
hush: small fix for unset -f on NOMMU.

Signed-off-by: root <root@localhost.localdomain>
15 years agofix debug message
Bernhard Reutner-Fischer [Sun, 3 May 2009 16:53:22 +0000 (18:53 +0200)]
fix debug message

  Print the mime-type only after it has been set.
  Add possible TODOs: use TCP_CORK, parse_config()

15 years agohush: add more complex case to leak testcase, fix found breakage
Denys Vlasenko [Sun, 3 May 2009 23:58:10 +0000 (01:58 +0200)]
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>
15 years agohush: fix bug where in "var=val func" var's value is not visible in func
Denys Vlasenko [Sun, 3 May 2009 22:14:30 +0000 (00:14 +0200)]
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>
15 years agohush: fix \<newline> handling
Denys Vlasenko [Sun, 3 May 2009 00:15:18 +0000 (02:15 +0200)]
hush: fix \<newline> handling

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
15 years agohush: fix handling of unterminated subshell: (<eof>. Fixes bug 229.
Denys Vlasenko [Sat, 2 May 2009 15:18:34 +0000 (17:18 +0200)]
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>
15 years agomdev: do not exit if user:group parse failed. closes bug 309.
Denys Vlasenko [Sat, 2 May 2009 14:33:10 +0000 (16:33 +0200)]
mdev: do not exit if user:group parse failed. closes bug 309.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
15 years agohush: fix multiple redirections of the same fd (bug 227)
Denys Vlasenko [Sat, 2 May 2009 12:17:31 +0000 (14:17 +0200)]
hush: fix multiple redirections of the same fd (bug 227)

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
15 years agohush: make . cmd search $PATH
Denys Vlasenko [Sat, 2 May 2009 00:34:19 +0000 (02:34 +0200)]
hush: make . cmd search $PATH

function         old     new   delta
builtin_source   128     249    +121

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
15 years agohttpd: speed up httpd.conf at the cost of 49 bytes of code
Denys Vlasenko [Fri, 1 May 2009 22:50:38 +0000 (00:50 +0200)]
httpd: speed up httpd.conf at the cost of 49 bytes of code

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
15 years agoifplugd: fix warnings
Denys Vlasenko [Fri, 1 May 2009 07:04:25 +0000 (09:04 +0200)]
ifplugd: fix warnings

15 years agodes encrypt: fix goof with NUL byte added at the end as '.'
Denys Vlasenko [Fri, 1 May 2009 01:41:25 +0000 (03:41 +0200)]
des encrypt: fix goof with NUL byte added at the end as '.'

15 years agomdev: fix a case where we mangle device_path string and then use it.
Denys Vlasenko [Fri, 1 May 2009 01:09:54 +0000 (03:09 +0200)]
mdev: fix a case where we mangle device_path string and then use it.

15 years agoMake it clearer that usually people should _NOT_
Denys Vlasenko [Fri, 1 May 2009 01:00:04 +0000 (03:00 +0200)]
Make it clearer that usually people should _NOT_
select FEATURE_UNIX_LOCAL.

15 years agogit commit test
Denys Vlasenko [Thu, 30 Apr 2009 19:24:24 +0000 (21:24 +0200)]
git commit test

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
15 years ago*: bb_error_msg's messages should not be capitalized
Denis Vlasenko [Wed, 29 Apr 2009 12:02:57 +0000 (12:02 -0000)]
*: bb_error_msg's messages should not be capitalized

15 years agolzop: new applet. Busyboxed by Alain Knaff. +7700 bytes.
Denis Vlasenko [Wed, 29 Apr 2009 12:01:51 +0000 (12:01 -0000)]
lzop: new applet. Busyboxed by Alain Knaff. +7700 bytes.

15 years agohush: make it possible to have interactive shell on non-ctty.
Denis Vlasenko [Mon, 27 Apr 2009 23:29:14 +0000 (23:29 -0000)]
hush: make it possible to have interactive shell on non-ctty.
 init=/bin/hush: shows prompt, history works, etc.

function                                             old     new   delta
hush_main                                            888     925     +37
block_signals                                        139     152     +13
builtin_fg_bg                                        284     293      +9
checkjobs_and_fg_shell                                35      41      +6
sigexit                                               65      66      +1
reset_traps_to_defaults                              165     164      -1
parse_stream                                        2200    2184     -16
run_list                                            2502    2475     -27
getpgid                                               35       -     -35
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 5/3 up/down: 66/-79)            Total: -13 bytes

15 years agomake leak test more robust by unsetting all vars
Denis Vlasenko [Sun, 26 Apr 2009 23:25:36 +0000 (23:25 -0000)]
make leak test more robust by unsetting all vars

15 years agohush: make getopt32 usable in builtins. use it in unset.
Denis Vlasenko [Sun, 26 Apr 2009 23:22:40 +0000 (23:22 -0000)]
hush: make getopt32 usable in builtins. use it in unset.
 more uses are expected in the future.

function                                             old     new   delta
getopt32                                            1356    1393     +37
builtin_export                                       256     266     +10
builtin_unset                                        418     380     -38

15 years agohush: nommu fix for function passing
Denis Vlasenko [Sun, 26 Apr 2009 20:06:14 +0000 (20:06 -0000)]
hush: nommu fix for function passing

15 years agohush: fix SEGV in % expansion
Denis Vlasenko [Sun, 26 Apr 2009 11:25:19 +0000 (11:25 -0000)]
hush: fix SEGV in % expansion

function                                             old     new   delta
expand_variables                                    2203    2217     +14

15 years agoifplugd: tiny shrink
Denis Vlasenko [Sun, 26 Apr 2009 01:43:36 +0000 (01:43 -0000)]
ifplugd: tiny shrink

15 years agoifplugd: add copyright
Denis Vlasenko [Sun, 26 Apr 2009 01:17:44 +0000 (01:17 -0000)]
ifplugd: add copyright

15 years agoifplugd: new applet by Maksym Kryzhanovskyy (xmaks AT email.cz)
Denis Vlasenko [Sun, 26 Apr 2009 01:08:51 +0000 (01:08 -0000)]
ifplugd: new applet by Maksym Kryzhanovskyy (xmaks AT email.cz)
 +3k code and 0.5k in messages. Most of the bloat due to compat :(

15 years agoshrink if FEATURE_SHADOWPASSWDS is off
Denis Vlasenko [Sat, 25 Apr 2009 13:26:10 +0000 (13:26 -0000)]
shrink if FEATURE_SHADOWPASSWDS is off

15 years agoadd FEATURE_UNIX_LOCAL. By Ingo van Lil (inguin AT gmx.de)
Denis Vlasenko [Sat, 25 Apr 2009 13:16:53 +0000 (13:16 -0000)]
add FEATURE_UNIX_LOCAL. By Ingo van Lil (inguin AT gmx.de)

15 years agounlzma: speedup, by Pascal Bellard (pascal.bellard AT ads-lu.com)
Denis Vlasenko [Sat, 25 Apr 2009 12:19:35 +0000 (12:19 -0000)]
unlzma: speedup, by Pascal Bellard (pascal.bellard AT ads-lu.com)

LZMA_FAST off: 10% faster and:
function                                             old     new   delta
rc_is_bit_1                                            -      92     +92
rc_do_normalize                                       45      81     +36
rc_update_bit_1                                       25       -     -25
rc_update_bit_0                                       30       -     -30
rc_is_bit_0_helper                                    38       -     -38
rc_get_bit                                            60      17     -43
rc_read                                               48       -     -48
unpack_lzma_stream                                  1768    1517    -251
------------------------------------------------------------------------------
(add/remove: 1/4 grow/shrink: 1/2 up/down: 128/-435)         Total: -307 bytes

LZMA_FAST on: 14% faster and:
unpack_lzma_stream                                  2301    2737    +436
rc_get_bit                                           106       -    -106

15 years agowe need to daemonize *before* opening the watchdog device
Mike Frysinger [Sat, 25 Apr 2009 06:16:37 +0000 (06:16 -0000)]
we need to daemonize *before* opening the watchdog device

15 years agodo not tell people they can enter "help" if help has actually been disabled
Mike Frysinger [Fri, 24 Apr 2009 06:40:30 +0000 (06:40 -0000)]
do not tell people they can enter "help" if help has actually been disabled

15 years agouse get_local_var_value() rather than getenv() when working with PS1/PS2/HOME, respec...
Mike Frysinger [Fri, 24 Apr 2009 06:26:18 +0000 (06:26 -0000)]
use get_local_var_value() rather than getenv() when working with PS1/PS2/HOME, respect the PS2 env var, and make sure that the prompt changes whenever PS1/PS2 changes so we dont have to re-exec the shell to get a changed prompt

15 years agoinetd: constify data
Denis Vlasenko [Wed, 22 Apr 2009 23:25:48 +0000 (23:25 -0000)]
inetd: constify data

15 years agoadduser/addgroup: support specifying uid/gid, add system
Denis Vlasenko [Wed, 22 Apr 2009 21:35:52 +0000 (21:35 -0000)]
adduser/addgroup: support specifying uid/gid, add system
 account creation mode. By Tito.

function                                             old     new   delta
adduser_main                                         650     726     +76
addgroup_main                                        341     402     +61
addgroup_longopts                                      -      16     +16
adduser_longopts                                      97     103      +6
packed_usage                                       26161   26163      +2
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 4/0 up/down: 161/0)             Total: 161 bytes

15 years agohttpd: fix small bug in parser. it crept in during cleanup
Denis Vlasenko [Wed, 22 Apr 2009 14:16:59 +0000 (14:16 -0000)]
httpd: fix small bug in parser. it crept in during cleanup

15 years agohttpd: allow empty lines in conf file
Denis Vlasenko [Wed, 22 Apr 2009 13:52:22 +0000 (13:52 -0000)]
httpd: allow empty lines in conf file

15 years agohttpd: simplify insane conf file parser
Denis Vlasenko [Wed, 22 Apr 2009 13:49:16 +0000 (13:49 -0000)]
httpd: simplify insane conf file parser

function                                             old     new   delta
bb_simplify_abs_path_inplace                           -      98     +98
parse_expr                                           824     832      +8
passwd_main                                         1025    1027      +2
evalvar                                             1374    1376      +2
parse_command                                       1463    1460      -3
bb_simplify_path                                     137      55     -82
parse_conf                                          1572    1422    -150
------------------------------------------------------------------------------
(add/remove: 3/2 grow/shrink: 3/3 up/down: 126/-251)         Total: -125 bytes

15 years agosyslogd: added comment, no code changes
Denis Vlasenko [Wed, 22 Apr 2009 02:53:02 +0000 (02:53 -0000)]
syslogd: added comment, no code changes

15 years agohttpd: improve help text
Denis Vlasenko [Wed, 22 Apr 2009 00:26:39 +0000 (00:26 -0000)]
httpd: improve help text

15 years agonc: free lsa in server mode, we might be up for a long time
Denis Vlasenko [Tue, 21 Apr 2009 23:51:43 +0000 (23:51 -0000)]
nc: free lsa in server mode, we might be up for a long time

15 years ago*: remove check for errors on getsockaddr in cases we know they can't happen
Denis Vlasenko [Tue, 21 Apr 2009 23:48:38 +0000 (23:48 -0000)]
*: remove check for errors on getsockaddr in cases we know they can't happen
libbb: make get_sock_lsa use only one getsockaddr syscall, not two

function                                             old     new   delta
get_sock_lsa                                          72     101     +29
do_iplink                                           1151    1137     -14
arping_main                                         1585    1569     -16
dolisten                                             789     755     -34
xrtnl_open                                           161      94     -67

15 years agoswitch_root: move misplaced comment
Denis Vlasenko [Tue, 21 Apr 2009 20:52:58 +0000 (20:52 -0000)]
switch_root: move misplaced comment

15 years agoswitch_root: improve behavior on error; improve help text
Denis Vlasenko [Tue, 21 Apr 2009 20:40:51 +0000 (20:40 -0000)]
switch_root: improve behavior on error; improve help text
*: make "can't execute '%s'" message uniform

15 years agohush: speed up set_local_var
Denis Vlasenko [Tue, 21 Apr 2009 11:23:56 +0000 (11:23 -0000)]
hush: speed up set_local_var

function                                             old     new   delta
set_local_var                                        265     290     +25

15 years ago*: mass renaming of USE_XXXX to IF_XXXX
Denis Vlasenko [Tue, 21 Apr 2009 11:09:40 +0000 (11:09 -0000)]
*: mass renaming of USE_XXXX to IF_XXXX
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially
badly named. It was not skipping anything!

15 years agotar: support for tar --numeric-owner. By Natanael Copa.
Denis Vlasenko [Tue, 21 Apr 2009 00:52:21 +0000 (00:52 -0000)]
tar: support for tar --numeric-owner. By Natanael Copa.

function                                             old     new   delta
tar_longopts                                         221     237     +16
data_extract_all                                     692     705     +13
tar_main                                             690     702     +12

15 years agoudhcpc: fix truncation of last char in client hostnames
Denis Vlasenko [Tue, 21 Apr 2009 00:41:57 +0000 (00:41 -0000)]
udhcpc: fix truncation of last char in client hostnames

15 years agoswitch_root: print errno on failure
Denis Vlasenko [Tue, 21 Apr 2009 00:29:17 +0000 (00:29 -0000)]
switch_root: print errno on failure

15 years agotweak example udhcp script
Denis Vlasenko [Tue, 21 Apr 2009 00:17:00 +0000 (00:17 -0000)]
tweak example udhcp script

15 years agohush: export -n support
Denis Vlasenko [Mon, 20 Apr 2009 22:04:21 +0000 (22:04 -0000)]
hush: export -n support

function                                             old     new   delta
builtin_export                                       206     256     +50
set_local_var                                        248     265     +17
expand_variables                                    2204    2203      -1

15 years agohush: add two testcases
Denis Vlasenko [Mon, 20 Apr 2009 10:52:31 +0000 (10:52 -0000)]
hush: add two testcases

15 years agowatchdog: enable it before setting timeout
Denis Vlasenko [Mon, 20 Apr 2009 09:26:17 +0000 (09:26 -0000)]
watchdog: enable it before setting timeout

function                                             old     new   delta
watchdog_main                                        239     259     +20
static.enable                                          -       4      +4

15 years agohush: fix stdin of backgrounded pipe
Denis Vlasenko [Mon, 20 Apr 2009 00:34:01 +0000 (00:34 -0000)]
hush: fix stdin of backgrounded pipe

function                                             old     new   delta
run_list                                            2450    2502     +52

15 years agomdev: enlarge inline documentation
Denis Vlasenko [Sun, 19 Apr 2009 23:38:08 +0000 (23:38 -0000)]
mdev: enlarge inline documentation

15 years agohush: fix "export not_yet_defined_var", fix parsing of "cmd | }"
Denis Vlasenko [Sun, 19 Apr 2009 23:07:51 +0000 (23:07 -0000)]
hush: fix "export not_yet_defined_var", fix parsing of "cmd | }"
 corner case; improve hush_leaktool.sh;
 fix some false positives in testsuite

function                                             old     new   delta
builtin_export                                       191     206     +15
parse_stream                                        2196    2200      +4

15 years agomdev: support $ENVVAR=regex
Denis Vlasenko [Sun, 19 Apr 2009 21:37:07 +0000 (21:37 -0000)]
mdev: support $ENVVAR=regex

15 years agoanother stab at fixing out-of-tree build
Denis Vlasenko [Sun, 19 Apr 2009 14:12:50 +0000 (14:12 -0000)]
another stab at fixing out-of-tree build

15 years agosame as previous, but -100 bytes
Denis Vlasenko [Sun, 19 Apr 2009 14:03:11 +0000 (14:03 -0000)]
same as previous, but -100 bytes

15 years agohush: fix handling of } which is not a closing one in { cmd; }
Denis Vlasenko [Sun, 19 Apr 2009 13:57:51 +0000 (13:57 -0000)]
hush: fix handling of } which is not a closing one in { cmd; }

function                                             old     new   delta
parse_stream                                        2176    2302    +126
builtin_unset                                        381     387      +6

15 years agohopefully fix out-of-tree build broken by 26139
Denis Vlasenko [Sun, 19 Apr 2009 12:15:51 +0000 (12:15 -0000)]
hopefully fix out-of-tree build broken by 26139

15 years agomdev: Rob's #if forest removal
Denis Vlasenko [Sun, 19 Apr 2009 01:27:20 +0000 (01:27 -0000)]
mdev: Rob's #if forest removal
*: remove superfluous conts in "f(type *const param)"

15 years agofix build errors when function support is turned off
Mike Frysinger [Sat, 18 Apr 2009 21:04:25 +0000 (21:04 -0000)]
fix build errors when function support is turned off

15 years agohush: fix thinko in error msg
Denis Vlasenko [Sat, 18 Apr 2009 13:05:10 +0000 (13:05 -0000)]
hush: fix thinko in error msg

15 years agohush: fix "trap -- handler SIGs..."; escape handlers in "trap" output
Denis Vlasenko [Sat, 18 Apr 2009 12:58:19 +0000 (12:58 -0000)]
hush: fix "trap -- handler SIGs..."; escape handlers in "trap" output

15 years agoacpid: prevent creation of zombies
Denis Vlasenko [Sat, 18 Apr 2009 11:35:16 +0000 (11:35 -0000)]
acpid: prevent creation of zombies

15 years agohush: fix thinko in unset_func
Denis Vlasenko [Sat, 18 Apr 2009 11:25:18 +0000 (11:25 -0000)]
hush: fix thinko in unset_func

15 years agohush: implement unset -f; beautify the handling of signal-killed pipe
Denis Vlasenko [Sat, 18 Apr 2009 11:23:38 +0000 (11:23 -0000)]
hush: implement unset -f; beautify the handling of signal-killed pipe
 four TODOs are gone

function                                             old     new   delta
builtin_unset                                        271     364     +93
checkjobs                                            394     428     +34
builtin_exit                                          49      47      -2

15 years agohush: deal with umask TODO (symbolic modes)
Denis Vlasenko [Sat, 18 Apr 2009 02:06:54 +0000 (02:06 -0000)]
hush: deal with umask TODO (symbolic modes)

function                                             old     new   delta
builtin_umask                                         79     125     +46

15 years agohush: implement proper SIGHUP handling
Denis Vlasenko [Sat, 18 Apr 2009 01:23:21 +0000 (01:23 -0000)]
hush: implement proper SIGHUP handling

function                                             old     new   delta
check_and_run_traps                                  164     229     +65
insert_bg_job                                        376     366     -10
hush_main                                            937     927     -10

15 years agobuiltin_return's parameter is not unused
Denis Vlasenko [Fri, 17 Apr 2009 23:53:15 +0000 (23:53 -0000)]
builtin_return's parameter is not unused

15 years agohush: return builtin by Bayram Kurumahmut (kbayram AT ubicom.com)
Denis Vlasenko [Fri, 17 Apr 2009 23:44:18 +0000 (23:44 -0000)]
hush: return builtin by Bayram Kurumahmut (kbayram AT ubicom.com)
 ~+200 bytes

15 years agofix move_to_unaligned32
Denis Vlasenko [Fri, 17 Apr 2009 22:20:44 +0000 (22:20 -0000)]
fix move_to_unaligned32

15 years agobuild system: remove some unnecessary rebuilds
Denis Vlasenko [Fri, 17 Apr 2009 21:56:02 +0000 (21:56 -0000)]
build system: remove some unnecessary rebuilds

15 years agohush: set $n properly for "source" builtin
Denis Vlasenko [Fri, 17 Apr 2009 18:54:50 +0000 (18:54 -0000)]
hush: set $n properly for "source" builtin

function                                             old     new   delta
restore_G_args                                         -      78     +78
save_and_replace_G_args                                -      64     +64
builtin_source                                        72     107     +35
run_list                                            2549    2367    -182
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 1/1 up/down: 177/-182)           Total: -5 bytes

15 years agohush: fix non-interactive response to pipe being stopped.
Denis Vlasenko [Fri, 17 Apr 2009 14:35:43 +0000 (14:35 -0000)]
hush: fix non-interactive response to pipe being stopped.

function                                             old     new   delta
checkjobs                                            380     394     +14

15 years agohush: unblock TERM, INT, HUP in child shells too.
Denis Vlasenko [Fri, 17 Apr 2009 13:52:51 +0000 (13:52 -0000)]
hush: unblock TERM, INT, HUP in child shells too.

15 years agohush: disallow "{echo hi; }" (require whitespace)
Denis Vlasenko [Fri, 17 Apr 2009 11:55:42 +0000 (11:55 -0000)]
hush: disallow "{echo hi; }" (require whitespace)
 and "{ echo hi }" (require semicolon or &)

function                                             old     new   delta
parse_stream                                        2098    2176     +78
done_command                                          98      84     -14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 78/-14)             Total: 64 bytes

15 years agomdev: add large comment, fix a buglet with subsystem and /sys/block
Denis Vlasenko [Fri, 17 Apr 2009 00:01:04 +0000 (00:01 -0000)]
mdev: add large comment, fix a buglet with subsystem and /sys/block

15 years agodisable FLASH_ERASEALL in defconfig
Denis Vlasenko [Thu, 16 Apr 2009 23:05:59 +0000 (23:05 -0000)]
disable FLASH_ERASEALL in defconfig

15 years agomdev: set mode, needed when device node already exists.
Denis Vlasenko [Thu, 16 Apr 2009 22:42:01 +0000 (22:42 -0000)]
mdev: set mode, needed when device node already exists.

15 years agomdev: change subsystem syntax from /subsystem to subsystem/devname
Denis Vlasenko [Thu, 16 Apr 2009 21:42:12 +0000 (21:42 -0000)]
mdev: change subsystem syntax from /subsystem to subsystem/devname

15 years agoupdate example udhcpc script
Denis Vlasenko [Thu, 16 Apr 2009 20:04:09 +0000 (20:04 -0000)]
update example udhcpc script

15 years agohush: add a TODO
Denis Vlasenko [Thu, 16 Apr 2009 12:00:15 +0000 (12:00 -0000)]
hush: add a TODO

15 years agohush: fix "if { echo foo; } then { echo bar; } fi" parsing
Denis Vlasenko [Thu, 16 Apr 2009 10:59:40 +0000 (10:59 -0000)]
hush: fix "if { echo foo; } then { echo bar; } fi" parsing

function                                             old     new   delta
done_word                                            728     793     +65
parse_stream                                        2084    2098     +14

15 years agohush: stop ignoring ^Z in child shells
Denis Vlasenko [Wed, 15 Apr 2009 23:29:44 +0000 (23:29 -0000)]
hush: stop ignoring ^Z in child shells

15 years agohush: remove old disabled ^Z handling
Denis Vlasenko [Wed, 15 Apr 2009 23:29:00 +0000 (23:29 -0000)]
hush: remove old disabled ^Z handling

15 years agohush: fix heredoc_huge.tests broken in last commits
Denis Vlasenko [Wed, 15 Apr 2009 21:58:14 +0000 (21:58 -0000)]
hush: fix heredoc_huge.tests broken in last commits

15 years agohush: remove TODO comment itself :)
Denis Vlasenko [Wed, 15 Apr 2009 21:49:48 +0000 (21:49 -0000)]
hush: remove TODO comment itself :)

15 years agohush: deal with a TODO: move argv_from_re_execing out of globals
Denis Vlasenko [Wed, 15 Apr 2009 21:48:23 +0000 (21:48 -0000)]
hush: deal with a TODO: move argv_from_re_execing out of globals

function                                             old     new   delta
generate_stream_from_string                          156     165      +9
setup_heredoc                                        312     320      +8
re_execute_shell                                     387     391      +4
pseudo_exec_argv                                     129     133      +4
run_pipe                                            1790    1783      -7
clean_up_after_re_execute                             30       -     -30
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 4/1 up/down: 25/-37)            Total: -12 bytes

15 years agoStart 1.15.x development
Denis Vlasenko [Wed, 15 Apr 2009 13:04:52 +0000 (13:04 -0000)]
Start 1.15.x development

15 years agowebsite: another tweak
Denis Vlasenko [Wed, 15 Apr 2009 11:55:27 +0000 (11:55 -0000)]
website: another tweak

15 years agowebsite: yet another small tweak
Denis Vlasenko [Wed, 15 Apr 2009 11:51:18 +0000 (11:51 -0000)]
website: yet another small tweak

15 years agowebsite: another tiny tweak
Denis Vlasenko [Wed, 15 Apr 2009 11:48:25 +0000 (11:48 -0000)]
website: another tiny tweak

15 years agowebsite: textual fixes in 1.14.0 announcement text
Denis Vlasenko [Wed, 15 Apr 2009 11:11:19 +0000 (11:11 -0000)]
website: textual fixes in 1.14.0 announcement text

15 years agowebsite: announce 1.14.0 and 1.13.4 1_14_0
Denis Vlasenko [Wed, 15 Apr 2009 02:13:14 +0000 (02:13 -0000)]
website: announce 1.14.0 and 1.13.4
Makefile: bump version to 1.14.0

15 years agomdev: safer handling of $SUBSYSTEM in mdev -s
Denis Vlasenko [Tue, 14 Apr 2009 21:23:33 +0000 (21:23 -0000)]
mdev: safer handling of $SUBSYSTEM in mdev -s

15 years agopointless whitespace/comment fixes, no code changes
Denis Vlasenko [Tue, 14 Apr 2009 09:58:11 +0000 (09:58 -0000)]
pointless whitespace/comment fixes, no code changes