oweals/busybox.git
16 years agodiff: improve comments (no code chages)
Denis Vlasenko [Mon, 24 Mar 2008 18:40:32 +0000 (18:40 -0000)]
diff: improve comments (no code chages)

16 years agopatch: support for patches without dates and generated with -U1; shrink
Denis Vlasenko [Mon, 24 Mar 2008 18:18:03 +0000 (18:18 -0000)]
patch: support for patches without dates and generated with -U1; shrink

function                                             old     new   delta
extract_filename                                       -      92     +92
extract_filename_and_free_line                        70       -     -70
patch_main                                          1096    1009     -87
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/1 up/down: 92/-157)           Total: -65 bytes

16 years agodiff: exclude D_EMPTY code if there is no support for -r
Denis Vlasenko [Mon, 24 Mar 2008 16:55:13 +0000 (16:55 -0000)]
diff: exclude D_EMPTY code if there is no support for -r

function                                             old     new   delta
diffreg                                             1808    1825     +17
files_differ                                         189     166     -23

16 years agodiff: fix small bug; don't make a copy for "/dev/null" case
Denis Vlasenko [Mon, 24 Mar 2008 16:28:47 +0000 (16:28 -0000)]
diff: fix small bug; don't make a copy for "/dev/null" case

16 years agodiff: reordering and renaming of variables
Denis Vlasenko [Mon, 24 Mar 2008 16:19:21 +0000 (16:19 -0000)]
diff: reordering and renaming of variables

function                                             old     new   delta
diff_main                                            843     848      +5
get_recursive_dirlist                                177     180      +3
add_to_dirlist                                        64      66      +2
change                                               329     326      -3
files_differ                                         182     176      -6
diffreg                                             1823    1808     -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/3 up/down: 10/-24)            Total: -14 bytes

16 years agodiff: make a few variables local
Denis Vlasenko [Mon, 24 Mar 2008 15:04:24 +0000 (15:04 -0000)]
diff: make a few variables local

function                                             old     new   delta
diffreg                                             1844    1823     -21

16 years agodiff: make it work on pipes etc (needed for kernel compile)
Denis Vlasenko [Mon, 24 Mar 2008 14:44:59 +0000 (14:44 -0000)]
diff: make it work on pipes etc (needed for kernel compile)

function                                             old     new   delta
get_recursive_dirlist                                  -     177    +177
make_temp                                              -     144    +144
diffreg                                             1818    1844     +26
files_differ                                         175     182      +7
diff_main                                            842     843      +1
get_dir                                              177       -    -177
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 3/0 up/down: 355/-177)          Total: 178 bytes

16 years agodiff: shrink
Denis Vlasenko [Mon, 24 Mar 2008 14:44:20 +0000 (14:44 -0000)]
diff: shrink

function                                             old     new   delta
check                                                678    1607    +929
files_differ                                           -     175    +175
do_diff                                              436     433      -3
asciifile                                             94      90      -4
print_only                                            23      16      -7
diff_main                                            868     842     -26
prepare                                              339     301     -38
print_status                                         316     178    -138
diffreg                                             2993    1818   -1175
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/7 up/down: 1104/-1391)       Total: -287 bytes

16 years ago*: whitespace fixes, no code changes
Denis Vlasenko [Mon, 24 Mar 2008 02:18:03 +0000 (02:18 -0000)]
*: whitespace fixes, no code changes

16 years agolpr: add more accurate comments
Denis Vlasenko [Mon, 24 Mar 2008 02:05:58 +0000 (02:05 -0000)]
lpr: add more accurate comments
*: trailing whitespace removal

16 years agolpd: much safer against malicious input. Does not fork anymore,
Denis Vlasenko [Mon, 24 Mar 2008 01:52:52 +0000 (01:52 -0000)]
lpd: much safer against malicious input. Does not fork anymore,
as this is not needed.

16 years agolpd: fix OOM vulnerability (was eating arbitrarily large commands)
Denis Vlasenko [Mon, 24 Mar 2008 00:04:42 +0000 (00:04 -0000)]
lpd: fix OOM vulnerability (was eating arbitrarily large commands)

16 years agolpd: maintainer's update: now with spool helpers
Denis Vlasenko [Sun, 23 Mar 2008 23:40:18 +0000 (23:40 -0000)]
lpd: maintainer's update: now with spool helpers

function                                             old     new   delta
exec_helper                                            -     227    +227
sane                                                  66     117     +51
packed_usage                                       23806   23828     +22
lpd_main                                             486     504     +18
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 3/0 up/down: 318/0)             Total: 318 bytes

16 years agopatch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes)
Denis Vlasenko [Sun, 23 Mar 2008 22:55:25 +0000 (22:55 -0000)]
patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes)
*: removal of #include <getopt.h>

16 years agopscan: fix a typo in help text
Denis Vlasenko [Sun, 23 Mar 2008 18:44:59 +0000 (18:44 -0000)]
pscan: fix a typo in help text

16 years agopscan: add -c, -b: report closed, blocked ports
Denis Vlasenko [Sun, 23 Mar 2008 14:46:14 +0000 (14:46 -0000)]
pscan: add -c, -b: report closed, blocked ports

16 years agotail: fix fallout from tail -c optimization
Denis Vlasenko [Sun, 23 Mar 2008 03:28:40 +0000 (03:28 -0000)]
tail: fix fallout from tail -c optimization

16 years agobump version to 1.11.0.svn
Denis Vlasenko [Sat, 22 Mar 2008 17:46:43 +0000 (17:46 -0000)]
bump version to 1.11.0.svn

16 years agotaskset: fix false failure in testsuite
Denis Vlasenko [Sat, 22 Mar 2008 17:46:16 +0000 (17:46 -0000)]
taskset: fix false failure in testsuite

16 years agowebpage: typo fix
Denis Vlasenko [Fri, 21 Mar 2008 21:22:24 +0000 (21:22 -0000)]
webpage: typo fix

16 years agoBump version to 1.10.0 and announce it on website. 1_10_0
Denis Vlasenko [Fri, 21 Mar 2008 20:50:37 +0000 (20:50 -0000)]
Bump version to 1.10.0 and announce it on website.

16 years agoupdate defconfig
Denis Vlasenko [Fri, 21 Mar 2008 20:37:16 +0000 (20:37 -0000)]
update defconfig

16 years agowebsite: fix double include of menubar
Denis Vlasenko [Fri, 21 Mar 2008 20:06:42 +0000 (20:06 -0000)]
website: fix double include of menubar

16 years agowebpage: fix English
Denis Vlasenko [Fri, 21 Mar 2008 18:52:18 +0000 (18:52 -0000)]
webpage: fix English

16 years agowebsite: announce stable point releases
Denis Vlasenko [Fri, 21 Mar 2008 18:41:21 +0000 (18:41 -0000)]
website: announce stable point releases

16 years ago*: fix build problems found with randomconfig
Denis Vlasenko [Fri, 21 Mar 2008 18:29:01 +0000 (18:29 -0000)]
*: fix build problems found with randomconfig

16 years agoscripts/bb_release: release script (I nearly lost it last time)
Denis Vlasenko [Fri, 21 Mar 2008 09:56:19 +0000 (09:56 -0000)]
scripts/bb_release: release script (I nearly lost it last time)
website: update links to latest releases

16 years ago*: use fopen_or_warn in few more places
Denis Vlasenko [Thu, 20 Mar 2008 21:19:35 +0000 (21:19 -0000)]
*: use fopen_or_warn in few more places

16 years agolet top build without TERMIOS enabled
Paul Fox [Thu, 20 Mar 2008 16:05:02 +0000 (16:05 -0000)]
let top build without TERMIOS enabled

16 years agotermios can be used by either top or more.
Paul Fox [Thu, 20 Mar 2008 16:04:36 +0000 (16:04 -0000)]
termios can be used by either top or more.

16 years agoinetd: use change_identity().
Denis Vlasenko [Thu, 20 Mar 2008 15:12:58 +0000 (15:12 -0000)]
inetd: use change_identity().
libbb: shrink our internal initgroups().
httpd: remove stray 'else' and 'index_page = "index.html"'

function                                             old     new   delta
httpd_main                                           750     743      -7
inetd_main                                          2033    2011     -22
bb_internal_initgroups                               251     228     -23
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-52)             Total: -52 bytes

16 years agosmall NOMMU fixes
Denis Vlasenko [Thu, 20 Mar 2008 14:04:30 +0000 (14:04 -0000)]
small NOMMU fixes

16 years agohdparm: do not lie about supporting -q (quiet)
Denis Vlasenko [Thu, 20 Mar 2008 13:44:50 +0000 (13:44 -0000)]
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>)

function                                             old     new   delta
packed_usage                                       23798   23776     -22
process_dev                                         5342    5315     -27

16 years agogcc compat fix and warning suppression
Denis Vlasenko [Thu, 20 Mar 2008 13:13:09 +0000 (13:13 -0000)]
gcc compat fix and warning suppression
by Joe Krahn <krahn AT niehs.nih.gov>

16 years agoudhcp: fix wrong order of args here: index_in_strings(opt, dhcp_option_strings);
Denis Vlasenko [Thu, 20 Mar 2008 12:47:01 +0000 (12:47 -0000)]
udhcp: fix wrong order of args here: index_in_strings(opt, dhcp_option_strings);
code shrink while at it:

function                                             old     new   delta
read_config                                          406     323     -83

16 years agotftpd: small trivial shrink
Denis Vlasenko [Wed, 19 Mar 2008 23:37:32 +0000 (23:37 -0000)]
tftpd: small trivial shrink

tftpd_main                                           502     488     -14

16 years agodie_if_bad_username: shrink: 88 -> 77 bytes
Denis Vlasenko [Wed, 19 Mar 2008 23:25:00 +0000 (23:25 -0000)]
die_if_bad_username: shrink:  88 -> 77 bytes

16 years ago...and actually adding new file now...
Denis Vlasenko [Wed, 19 Mar 2008 23:15:55 +0000 (23:15 -0000)]
...and actually adding new file now...

16 years agoadduser/addgroup: check username for invalid chars
Denis Vlasenko [Wed, 19 Mar 2008 23:15:26 +0000 (23:15 -0000)]
adduser/addgroup: check username for invalid chars
(by Tito <farmatito AT tiscali.it>). +129 bytes when enabled.

16 years ago*: s/BB_SIGS_FATAL/BB_FATAL_SIGS/ (latter proved easier to remember)
Denis Vlasenko [Wed, 19 Mar 2008 19:38:46 +0000 (19:38 -0000)]
*: s/BB_SIGS_FATAL/BB_FATAL_SIGS/ (latter proved easier to remember)
top: fix "top </dev/null" case (by Cristian Ionescu-Idbohrn)

16 years agoifupdown: make it NOMMU-capable
Denis Vlasenko [Wed, 19 Mar 2008 16:24:17 +0000 (16:24 -0000)]
ifupdown: make it NOMMU-capable

16 years agotftpd: fix download: we must change user AFTER bind
Denis Vlasenko [Wed, 19 Mar 2008 13:24:13 +0000 (13:24 -0000)]
tftpd: fix download: we must change user AFTER bind

tftp_protocol                                       1466    1468      +2

16 years agotftpd: options -c (allow _new_ files to be uploaded) and -u USER
Denis Vlasenko [Wed, 19 Mar 2008 13:07:00 +0000 (13:07 -0000)]
tftpd: options -c (allow _new_ files to be uploaded) and -u USER

function                                             old     new   delta
tftp_protocol                                       1316    1466    +150
packed_usage                                       23774   23798     +24
tftpd_main                                           509     502      -7
tftp_main                                            311     252     -59
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 174/-66)           Total: 108 bytes
   text    data     bss     dec     hex filename
 797700     641    7380  805721   c4b59 busybox_old
 797833     641    7380  805854   c4bde busybox_unstripped

16 years agotftp(d): a bit more verbose error reporting
Denis Vlasenko [Wed, 19 Mar 2008 09:43:50 +0000 (09:43 -0000)]
tftp(d): a bit more verbose error reporting

16 years agotftpd: make it emit error packets
Denis Vlasenko [Wed, 19 Mar 2008 05:00:05 +0000 (05:00 -0000)]
tftpd: make it emit error packets
telnetd: use login always, not "sometimes login, sometimes shell"

   text    data     bss     dec     hex filename
 797612     641    7380  805633   c4b01 busybox_old
 797695     641    7380  805716   c4b54 busybox_unstripped

16 years agounlzma: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com>
Denis Vlasenko [Tue, 18 Mar 2008 03:13:25 +0000 (03:13 -0000)]
unlzma: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com>

16 years agomount: #ifdef out MOUNT_LABEL code parts if it is not selected
Denis Vlasenko [Tue, 18 Mar 2008 01:44:52 +0000 (01:44 -0000)]
mount: #ifdef out MOUNT_LABEL code parts if it is not selected

16 years agopatch: don't trash permissions of patched file
Denis Vlasenko [Tue, 18 Mar 2008 01:38:04 +0000 (01:38 -0000)]
patch: don't trash permissions of patched file

16 years agotftpd: make open() check r/w permissions instead of doing it ourself.
Denis Vlasenko [Tue, 18 Mar 2008 01:13:11 +0000 (01:13 -0000)]
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.

16 years agotftpd: fix bugs spotted by Vladimir
Denis Vlasenko [Tue, 18 Mar 2008 00:11:46 +0000 (00:11 -0000)]
tftpd: fix bugs spotted by Vladimir

16 years agoinit: do not close all descriptors > 2. We were doing it - sometimes.
Denis Vlasenko [Mon, 17 Mar 2008 22:01:42 +0000 (22:01 -0000)]
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.

16 years agoremove alarm() calls which were functioning as a primitive
Paul Fox [Mon, 17 Mar 2008 15:28:07 +0000 (15:28 -0000)]
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.

16 years agoinit: do not use bb_sanitize_stdio(), "/dev/null" may be missing (yet)
Denis Vlasenko [Mon, 17 Mar 2008 13:26:51 +0000 (13:26 -0000)]
init: do not use bb_sanitize_stdio(), "/dev/null" may be missing (yet)

16 years agohttpd: small fixlet for POST upload - skip
Denis Vlasenko [Mon, 17 Mar 2008 12:58:19 +0000 (12:58 -0000)]
httpd: small fixlet for POST upload - skip
whitespace between "Content-length:" and number

16 years agoremove extra spaces in help text; delete duplicate #define
Denis Vlasenko [Mon, 17 Mar 2008 09:37:24 +0000 (09:37 -0000)]
remove extra spaces in help text; delete duplicate #define

16 years agobrctl: eliminate stray data object
Denis Vlasenko [Mon, 17 Mar 2008 09:33:45 +0000 (09:33 -0000)]
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")

function                                             old     new   delta
runsvdir_main                                       1646    1672     +26
set_pgrp                                               1       -      -1
exitsoon                                               1       -      -1
check                                                679     678      -1
svnum                                                  4       -      -4
svdir                                                  4       -      -4
sv                                                     4       -      -4
stamplog                                               4       -      -4
rploglen                                               4       -      -4
rplog                                                  4       -      -4
mount_main                                           995     988      -7
static.default_file_list                               8       -      -8
pfd                                                    8       -      -8
logpipe                                                8       -      -8
static.info                                           20       -     -20
brctl_main                                           767     739     -28
------------------------------------------------------------------------------
(add/remove: 0/12 grow/shrink: 1/3 up/down: 26/-106)          Total: -80 bytes
   text    data     bss     dec     hex filename
 793327     662    7412  801401   c3a79 busybox_old
 793329     641    7372  801342   c3a3e busybox_unstripped

16 years ago*: fix various kinds of damage to letter 'c' in Arkadiusz Mickiewicz' surname.
Denis Vlasenko [Mon, 17 Mar 2008 09:29:43 +0000 (09:29 -0000)]
*: 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

function                                             old     new   delta
xstrtoull_range                                        -      35     +35
static.sg_commands                                     -      18     +18
packed_usage                                       23698   23712     +14
watchdog_main                                        148     151      +3
crontab_main                                         637     638      +1
base                                                   1       -      -1
static.ps                                              4       -      -4
pointer                                                4       -      -4
stack_machine                                         99      92      -7
run_command                                          273     260     -13
eject_main                                           360     343     -17
static.C                                              30      12     -18
ptok                                                  61      38     -23
xstrtol_range                                         27       -     -27
get_token                                             35       -     -35
taskset_main                                         586     550     -36
chrt_main                                            411     372     -39
dc_main                                              158     117     -41
time_main                                           1127    1037     -90
------------------------------------------------------------------------------
(add/remove: 2/5 grow/shrink: 3/9 up/down: 71/-355)          Total: -284 bytes
   text    data     bss     dec     hex filename
 793680     662    7420  801762   c3be2 busybox_old
 793327     662    7412  801401   c3a79 busybox_unstripped

16 years agovolume_id: disable detection routines which are not setting label and uuid anyway
Denis Vlasenko [Mon, 17 Mar 2008 09:25:05 +0000 (09:25 -0000)]
volume_id: disable detection routines which are not setting label and uuid anyway

function                                             old     new   delta
static.warn                                            1       -      -1
static.drive_name_string                              14      12      -2
static.offsets                                         8       -      -8
static.sectors                                        10       -     -10
fs2                                                   60      48     -12
raid2                                                 16       -     -16
uuidcache_init                                       704     677     -27
raid1                                                 32       -     -32
volume_id_probe_all                                  198     158     -40
volume_id_probe_lvm1                                  58       -     -58
volume_id_probe_highpoint_37x_raid                    63       -     -63
volume_id_probe_hpfs                                  67       -     -67
volume_id_probe_minix                                 74       -     -74
volume_id_probe_lvm2                                  78       -     -78
volume_id_probe_silicon_medley_raid                   97       -     -97
volume_id_probe_via_raid                             101       -    -101
volume_id_probe_highpoint_45x_raid                   104       -    -104
volume_id_probe_nvidia_raid                          108       -    -108
volume_id_probe_lsi_mega_raid                        108       -    -108
volume_id_probe_intel_software_raid                  108       -    -108
volume_id_probe_ufs                                  126       -    -126
volume_id_probe_promise_fasttrack_raid               144       -    -144
------------------------------------------------------------------------------
(add/remove: 0/18 grow/shrink: 0/4 up/down: 0/-1384)        Total: -1384 bytes
   text    data     bss     dec     hex filename
 794244     662    7420  802326   c3e16 busybox_old
 792698     662    7420  800780   c380c busybox_unstripped

16 years agovolude_id: remove unused fields and functions which were setting them
Denis Vlasenko [Mon, 17 Mar 2008 09:21:26 +0000 (09:21 -0000)]
volude_id: remove unused fields and functions which were setting them

function                                             old     new   delta
uuidcache_init                                       567     704    +137
findfs_main                                            -     125    +125
packed_usage                                       23662   23694     +32
static.drive_name_string                               -      14     +14
applet_names                                        1815    1822      +7
applet_main                                         1104    1108      +4
volume_id_open_node                                   35      38      +3
applet_nameofs                                       552     554      +2
get_devname_from_label                                78      79      +1
applet_install_loc                                   138     139      +1
volume_id_set_label_unicode16                         31      27      -4
volume_id_set_label_string                            74      70      -4
get_devname_from_uuid                                 63      59      -4
fs1                                                   12       8      -4
volume_id_set_unicode16                              209     202      -7
volume_id_free_buffer                                 71      56     -15
free_volume_id                                        52      37     -15
volume_id_probe_luks                                  97      79     -18
volume_id_set_usage_part                              21       -     -21
volume_id_probe_ufs                                  148     126     -22
volume_id_probe_lsi_mega_raid                        131     108     -23
volume_id_probe_highpoint_45x_raid                   127     104     -23
volume_id_probe_highpoint_37x_raid                    87      63     -24
volume_id_set_usage                                   28       -     -28
volume_id_probe_romfs                                121      93     -28
volume_id_set_label_raw                               30       -     -30
volume_id_probe_promise_fasttrack_raid               174     144     -30
volume_id_set_uuid                                   373     342     -31
volume_id_probe_xfs                                  122      91     -31
volume_id_probe_jfs                                  138     107     -31
volume_id_probe_ocfs2                                139     107     -32
volume_id_probe_lvm1                                  90      58     -32
volume_id_probe_cramfs                               106      63     -43
volume_id_probe_via_raid                             145     101     -44
volume_id_probe_intel_software_raid                  153     108     -45
volume_id_probe_minix                                121      74     -47
volume_id_probe_udf                                  682     632     -50
volume_id_probe_nvidia_raid                          158     108     -50
volume_id_probe_lvm2                                 128      78     -50
volume_id_probe_hpfs                                 117      67     -50
volume_id_probe_ext                                  143      93     -50
volume_id_probe_linux_raid                           191     139     -52
volume_id_probe_sysv                                 244     187     -57
volume_id_probe_silicon_medley_raid                  158      97     -61
usage_to_string                                       64       -     -64
volume_id_probe_linux_swap                           263     198     -65
volume_id_get_buffer                                 372     307     -65
volume_id_probe_iso9660                              412     332     -80
volume_id_probe_hfs_hfsplus                          888     806     -82
volume_id_probe_ntfs                                 396     294    -102
volume_id_probe_vfat                                 980     872    -108
volume_id_probe_reiserfs                             417     268    -149
dev_get_major_minor                                  175       -    -175
uuidcache_check_device                               692     499    -193
volume_id_probe_mac_partition_map                    697       -    -697
------------------------------------------------------------------------------
(add/remove: 2/6 grow/shrink: 8/39 up/down: 326/-2836)      Total: -2510 bytes
   text    data     bss     dec     hex filename
 797220     662    7420  805302   c49b6 busybox_old
 794244     662    7420  802326   c3e16 busybox_unstripped

16 years agoselinux/*: -Wunused-parameter fixes
Denis Vlasenko [Mon, 17 Mar 2008 09:19:26 +0000 (09:19 -0000)]
selinux/*: -Wunused-parameter fixes
runsv: make it NOMMU-capable

function                                             old     new   delta
startservice                                         291     313     +22
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 22/0)               Total: 22 bytes

16 years agosvn add/svn rm to actually move tcp/udpsvd...
Denis Vlasenko [Mon, 17 Mar 2008 09:17:27 +0000 (09:17 -0000)]
svn add/svn rm to actually move tcp/udpsvd...

16 years ago*: mode tcp/udpsvd to networking, delete ipsvd/*
Denis Vlasenko [Mon, 17 Mar 2008 09:13:22 +0000 (09:13 -0000)]
*: mode tcp/udpsvd to networking, delete ipsvd/*
*/Config.in: fixes to text
svlogd: make it NOMMU capable

function                                             old     new   delta
processorstart                                       378     420     +42
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 42/0)               Total: 42 bytes
   text    data     bss     dec     hex filename
 797153     662    7420  805235   c4973 busybox_old
 797196     662    7420  805278   c499e busybox_unstripped

16 years agotftpd: new applet (mostly using existing code for tftp)
Denis Vlasenko [Mon, 17 Mar 2008 09:10:39 +0000 (09:10 -0000)]
tftpd: new applet (mostly using existing code for tftp)

function                                             old     new   delta
tftp_protocol                                          -    1173   +1173
tftpd_main                                             -     500    +500
tftp_option_get                                        -     102    +102
packed_usage                                       23650   23662     +12
applet_names                                        1809    1815      +6
applet_main                                         1100    1104      +4
applet_nameofs                                       550     552      +2
tftp_main                                            302     301      -1
get_nport                                             32       -     -32
tftp                                                1172       -   -1172
------------------------------------------------------------------------------
(add/remove: 3/2 grow/shrink: 4/1 up/down: 1799/-1205)        Total: 594 bytes
   text    data     bss     dec     hex filename
 796479     662    7420  804561   c46d1 busybox_old
 797153     662    7420  805235   c4973 busybox_unstripped

16 years ago*: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param)
Denis Vlasenko [Mon, 17 Mar 2008 09:09:09 +0000 (09:09 -0000)]
*: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param)

function                                             old     new   delta
getopt32                                            1370    1385     +15
sulogin_main                                         490     494      +4
realpath_main                                         84      86      +2
sleep_main                                            76      77      +1
mt_main                                              256     257      +1
printenv_main                                         75      74      -1
fdformat_main                                        546     545      -1
usleep_main                                           44      42      -2
setlogcons_main                                       77      75      -2
ed_main                                             2654    2649      -5
deallocvt_main                                        69      64      -5
addgroup_main                                        373     368      -5
mkfs_minix_main                                     2989    2982      -7
tail_main                                           1221    1213      -8
sv_main                                             1254    1241     -13
du_main                                              348     328     -20
tftp_main                                            325     302     -23
split_main                                           581     558     -23
nc_main                                             1000     977     -23
diff_main                                            891     868     -23
arping_main                                         1797    1770     -27
ls_main                                              893     847     -46
od_main                                             2797    2750     -47
readprofile_main                                    1944    1895     -49
tcpudpsvd_main                                      1973    1922     -51
udhcpc_main                                         2590    2513     -77
grep_main                                            824     722    -102
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/22 up/down: 23/-560)         Total: -537 bytes
   text    data     bss     dec     hex filename
 796973     658    7428  805059   c48c3 busybox_old
 796479     662    7420  804561   c46d1 busybox_unstripped

16 years ago*: shrink by using [f]open_or_warn_stdin where appropriate
Denis Vlasenko [Mon, 17 Mar 2008 09:07:36 +0000 (09:07 -0000)]
*: shrink by using [f]open_or_warn_stdin where appropriate

function                                             old     new   delta
lsattr_main                                           62     143     +81
open_or_warn_stdin                                     -      36     +36
fclose_if_not_stdin                                   20      47     +27
xfopen_stdin                                           -      20     +20
tac_main                                             336     356     +20
cksum_main                                           249     259     +10
bb_argv_dash                                           -       8      +8
su_main                                              448     455      +7
cmp_main                                             630     633      +3
passwd_main                                         1072    1074      +2
uudecode_main                                        317     315      -2
text_yank                                            110     108      -2
handle_incoming_and_exit                            2653    2651      -2
flags                                                  5       1      -4
write_leases                                         235     230      -5
fopen_or_warn_stdin                                   48      42      -6
fold_main                                            648     642      -6
static.argv_dash                                       8       -      -8
sum_main                                             142     128     -14
tail_main                                           1237    1221     -16
sed_main                                             711     695     -16
cmp_xfopen_input                                      17       -     -17
bb_cat                                               113      96     -17
catv_main                                            328     306     -22
strings_main                                         457     434     -23
hash_file                                            298     274     -24
sum_file                                             353     325     -28
sort_main                                            904     859     -45
expand_main                                          736     686     -50
cut_main                                            1116    1065     -51
md5_sha1_sum_main                                    549     493     -56
lsattr_args                                           90       -     -90
read_stduu                                           408     255    -153
------------------------------------------------------------------------------
(add/remove: 3/3 grow/shrink: 7/20 up/down: 214/-657)        Total: -443 bytes
   text    data     bss     dec     hex filename
 797417     658    7428  805503   c4a7f busybox_old
 796973     658    7428  805059   c48c3 busybox_unstripped

16 years agoclean up TODO file. No real code changes.
Denis Vlasenko [Mon, 17 Mar 2008 09:05:21 +0000 (09:05 -0000)]
clean up TODO file. No real code changes.

16 years ago*: fix fallout from -Wunused-parameter
Denis Vlasenko [Mon, 17 Mar 2008 09:04:04 +0000 (09:04 -0000)]
*: fix fallout from -Wunused-parameter

function                                             old     new   delta
bbunpack                                             358     366      +8
passwd_main                                         1070    1072      +2
handle_incoming_and_exit                            2651    2653      +2
getpty                                                88      86      -2
script_main                                          975     972      -3
inetd_main                                          2036    2033      -3
dname_enc                                            377     373      -4
make_new_session                                     474     462     -12
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/5 up/down: 12/-24)            Total: -12 bytes
   text    data     bss     dec     hex filename
 797429     658    7428  805515   c4a8b busybox_old
 797417     658    7428  805503   c4a7f busybox_unstripped

16 years agodnsd: properly set _src_ IP:port on outgoing UDP packets
Denis Vlasenko [Mon, 17 Mar 2008 09:02:21 +0000 (09:02 -0000)]
dnsd: properly set _src_ IP:port on outgoing UDP packets

function                                             old     new   delta
send_to_from                                           -     258    +258
dnsd_main                                           1500    1568     +68
interrupt                                             17      19      +2
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 328/0)             Total: 328 bytes
   text    data     bss     dec     hex filename
 797101     658    7428  805187   c4943 busybox_old
 797429     658    7428  805515   c4a8b busybox_unstripped

16 years ago*: add -Wunused-parameter; fix resulting breakage
Denis Vlasenko [Mon, 17 Mar 2008 09:00:54 +0000 (09:00 -0000)]
*: add -Wunused-parameter; fix resulting breakage

function                                             old     new   delta
procps_scan                                         1265    1298     +33
aliascmd                                             278     283      +5
parse_file_cmd                                       116     120      +4
dname_enc                                            373     377      +4
setcmd                                                90      93      +3
execcmd                                               57      60      +3
count_lines                                           72      74      +2
process_command_subs                                 340     339      -1
test_main                                            409     407      -2
mknod_main                                           179     177      -2
handle_incoming_and_exit                            2653    2651      -2
argstr                                              1312    1310      -2
shiftcmd                                             131     128      -3
exitcmd                                               46      43      -3
dotcmd                                               297     294      -3
breakcmd                                              86      83      -3
evalpipe                                             353     349      -4
evalcommand                                         1180    1176      -4
evalcmd                                              109     105      -4
send_tree                                            374     369      -5
mkfifo_main                                           82      77      -5
evalsubshell                                         152     147      -5
typecmd                                               75      69      -6
letcmd                                                61      55      -6
add_cmd                                             1190    1183      -7
main                                                 891     883      -8
ash_main                                            1415    1407      -8
parse_stream                                        1377    1367     -10
alloc_procps_scan                                     55       -     -55
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148)          Total: -94 bytes
   text    data     bss     dec     hex filename
 797195     658    7428  805281   c49a1 busybox_old
 797101     658    7428  805187   c4943 busybox_unstripped

16 years agofsck: shrink (we were passing around some params which were unused)
Denis Vlasenko [Mon, 17 Mar 2008 08:59:19 +0000 (08:59 -0000)]
fsck: shrink (we were passing around some params which were unused)

function                                             old     new   delta
fsck_main                                           1807    2256    +449
fsck_device                                          196     189      -7
create_fs_device                                     131     124      -7
wait_one                                             325     309     -16
wait_many                                             52      33     -19
free_instance                                         38       -     -38
packed_usage                                       23698   23650     -48
execute                                             2508    2402    -106
check_all                                            609       -    -609
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 1/6 up/down: 449/-850)         Total: -401 bytes
   text    data     bss     dec     hex filename
 797604     658    7428  805690   c4b3a busybox_old
 797195     658    7428  805281   c49a1 busybox_unstripped

16 years agohelp text: regularize format, and shrink
Denis Vlasenko [Mon, 17 Mar 2008 08:55:44 +0000 (08:55 -0000)]
help text: regularize format, and shrink
getty: shrink, and improve comments
mount: OPT_ALL is superfluous, we already have OPT_a

function                                             old     new   delta
bcode                                                 47      25     -22
getty_main                                          2503    2349    -154
packed_usage                                       23928   23698    -230
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-406)           Total: -406 bytes
   text    data     bss     dec     hex filename
 798031     658    7428  806117   c4ce5 busybox_old
 797604     658    7428  805690   c4b3a busybox_unstripped

16 years agomount: plug a hole where FEATURE_MOUNT_HELPERS could allow execution
Denis Vlasenko [Mon, 17 Mar 2008 08:46:43 +0000 (08:46 -0000)]
mount: plug a hole where FEATURE_MOUNT_HELPERS could allow execution
of arbitrary command.

function                                             old     new   delta
mount_it_now                                         266     309     +43

16 years agofuser: bugfixes and shrink. It was assuming that xmalloc zeroes returned area!
Denis Vlasenko [Mon, 17 Mar 2008 08:44:58 +0000 (08:44 -0000)]
fuser: bugfixes and shrink. It was assuming that xmalloc zeroes returned area!

function                                             old     new   delta
scan_dir_links                                         -     106    +106
add_inode                                              -      89     +89
scan_link                                              -      78     +78
file_to_dev_inode                                      -      64     +64
search_dev_inode                                       -      63     +63
add_pid                                                -      39     +39
packed_usage                                       23948   23928     -20
fuser_add_pid                                         49       -     -49
fuser_file_to_dev_inode                               64       -     -64
fuser_search_dev_inode                                77       -     -77
fuser_scan_link                                       91       -     -91
fuser_scan_dir_links                                 108       -    -108
fuser_add_inode                                      124       -    -124
fuser_main                                          1450    1243    -207
------------------------------------------------------------------------------
(add/remove: 6/6 grow/shrink: 0/2 up/down: 439/-740)         Total: -301 bytes
   text    data     bss     dec     hex filename
 798327     658    7428  806413   c4e0d busybox_old
 797988     658    7428  806074   c4cba busybox_unstripped

16 years agodos2unix: tiny shrink
Denis Vlasenko [Mon, 17 Mar 2008 08:42:43 +0000 (08:42 -0000)]
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

function                                             old     new   delta
login_main                                          1658    1701     +43
setup_environment                                    206     203      -3
dos_compatible_flag                                    4       1      -3
dos2unix_main                                        383     375      -8
get_boot                                            1724    1702     -22
fdisk_main                                          2949    2889     -60
packed_usage                                       24250   23948    -302
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/6 up/down: 43/-398)          Total: -355 bytes
   text    data     bss     dec     hex filename
 798768     661    7428  806857   c4fc9 busybox_old
 798327     658    7428  806413   c4e0d busybox_unstripped

16 years agoless: improve search when data is not supplied fast enough by stdin -
Denis Vlasenko [Mon, 17 Mar 2008 08:38:45 +0000 (08:38 -0000)]
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.

function                                             old     new   delta
read_lines                                           653     719     +66
buffer_down                                           28      83     +55
goto_match                                           140     141      +1
cap_cur_fline                                         72       -     -72
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 3/0 up/down: 122/-72)            Total: 50 bytes
   text    data     bss     dec     hex filename
 798734     661    7428  806823   c4fa7 busybox_old
 798768     661    7428  806857   c4fc9 busybox_unstripped

16 years agotcpsvd,udpsvd: make them NOMMU-capable
Denis Vlasenko [Mon, 17 Mar 2008 08:35:44 +0000 (08:35 -0000)]
tcpsvd,udpsvd: make them NOMMU-capable
inetd: make udp nowait work

function                                             old     new   delta
inetd_main                                          1797    2036    +239
tcpudpsvd_main                                      1839    1973    +134
xsetenv_plain                                          -      39     +39
xsetenv_proto                                         23      40     +17
bump_nofile                                          169     170      +1
sig_term_handler                                      72      69      -3
sig_child_handler                                    239     233      -6
connection_status                                     37      31      -6
parse_one_line                                      1102    1092     -10
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 4/4 up/down: 430/-25)           Total: 405 bytes
   text    data     bss     dec     hex filename
 798437     661    7428  806526   c4e7e busybox_old
 798734     661    7428  806823   c4fa7 busybox_unstripped

16 years agofsck_minix: getopt32-ification; code shrink; reduce stack usage;
Denis Vlasenko [Mon, 17 Mar 2008 08:32:26 +0000 (08:32 -0000)]
fsck_minix: getopt32-ification; code shrink; reduce stack usage;
fix bug in map_block2: s/(blknr >= 256 * 256)/(blknr < 256 * 256)/

function                                             old     new   delta
get_inode_common                                       -     291    +291
add_zone_common                                        -     205    +205
ask                                                  229     215     -14
write_super_block                                    109      90     -19
write_block                                          653     629     -24
bad_zone                                              95      64     -31
read_block                                           241     198     -43
fsck_minix_main                                     3285    3195     -90
add_zone2                                            217      34    -183
add_zone                                             216      33    -183
recursive_check                                     1097     866    -231
recursive_check2                                    1340     956    -384
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 0/10 up/down: 496/-1202)       Total: -706 bytes
   text    data     bss     dec     hex filename
 799349     661    7428  807438   c520e busybox_old
 798437     661    7428  806526   c4e7e busybox_unstripped

16 years agolibbb: introduce and use sigprocmask_allsigs and sigaction_set.
Denis Vlasenko [Mon, 17 Mar 2008 08:29:08 +0000 (08:29 -0000)]
libbb: introduce and use sigprocmask_allsigs and sigaction_set.
libbb: rename sig_pause to wait_for_any_sig.

16 years agolibbb: introduse and use signal_[no_]SA_RESTART_empty_mask and sigaction_set
Denis Vlasenko [Wed, 12 Mar 2008 23:19:35 +0000 (23:19 -0000)]
libbb: introduse and use signal_[no_]SA_RESTART_empty_mask and sigaction_set

signal_SA_RESTART_empty_mask                           -      65     +65
signal_no_SA_RESTART_empty_mask                        -      54     +54
dd_main                                             1325    1369     +44
sigaction_set                                          -      19     +19
dname_enc                                            373     377      +4
UNSPEC_print                                          64      66      +2
setsignal                                            296     294      -2
bb_signals_recursive                                  95      92      -3
bb_askpass                                           367     361      -6
inetd_main                                          1810    1797     -13
rx_main                                              912     883     -29
sigdelset                                             32       -     -32
__sigdelset                                           32       -     -32
__GI_sigdelset                                        32       -     -32
sighup_handler                                        84      37     -47
arping_main                                         1844    1797     -47
fsck_main                                           1869    1807     -62
run_list                                            1917    1844     -73
vlock_main                                           492     409     -83
progressmeter                                        883     798     -85
handle_incoming_and_exit                            2737    2651     -86
------------------------------------------------------------------------------
(add/remove: 3/3 grow/shrink: 3/12 up/down: 188/-632)        Total: -444 bytes

16 years agonc: remove a bit of bloat
Denis Vlasenko [Wed, 12 Mar 2008 23:13:50 +0000 (23:13 -0000)]
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

parse_one_line                                      1015    1102     +87
init_ring                                              -      53     +53
xzalloc_lsa                                            -      48     +48
read_byte                                             51      50      -1
rearm_alarm                                           28      25      -3
nc_main                                             1028    1000     -28
initring                                              53       -     -53
vlock_main                                           583     496     -87
reread_config_file                                  1089     991     -98
rx_main                                             1046     912    -134
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 1/6 up/down: 188/-404)         Total: -216 bytes
   text    data     bss     dec     hex filename
 800120     661    7428  808209   c5511 busybox_old
 799796     661    7428  807885   c53cd busybox_unstripped

16 years agoinetd: make it NOMMU-capable and IPv6-friendly. Lots of renames
Denis Vlasenko [Wed, 12 Mar 2008 22:14:34 +0000 (22:14 -0000)]
inetd: make it NOMMU-capable and IPv6-friendly. Lots of renames
of variable/function names

Total: -2474 bytes
   text    data     bss     dec     hex filename
 802215     661    7452  810328   c5d58 busybox_old
 800120     661    7428  808209   c5511 busybox_unstripped

16 years agocrond: make it NOMMU-capable
Denis Vlasenko [Wed, 12 Mar 2008 22:10:25 +0000 (22:10 -0000)]
crond: make it NOMMU-capable

function                                             old     new   delta
safe_setenv4                                           -      62     +62
ForkJob                                              472     511     +39
change_identity                                       21      57     +36
ParseField                                           564     571      +7
SynchronizeDir                                       178     176      -2
LogLevel                                               4       -      -4
LogFile                                                4       -      -4
FileBase                                               4       -      -4
DebugOpt                                               4       -      -4
CDir                                                   4       -      -4
DeleteFile                                           141     132      -9
packed_usage                                       24248   24228     -20
crondlog                                             157     113     -44
change_identity_e2str                                 54       -     -54
SynchronizeFile                                      729     671     -58
crond_main                                          1555    1404    -151
------------------------------------------------------------------------------
(add/remove: 1/6 grow/shrink: 3/6 up/down: 144/-358)         Total: -214 bytes

16 years agofixups to vi usage, and move the initial redraw() past the
Paul Fox [Thu, 6 Mar 2008 16:26:12 +0000 (16:26 -0000)]
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.

16 years agofixed the "dot" (i.e. '.') command, to properly re-init its
Paul Fox [Thu, 6 Mar 2008 01:34:23 +0000 (01:34 -0000)]
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.

fixed the 'c', 'd', and 'y' commands to properly handle both motions
that are just part of a line, and those that are multiline.  for
instance, now "c%" and "2cw" work correctly, whether the motions span
lines or not.

added some permissble motions for 'c', 'd', and 'y':  namely 'h',
'l', SPACE, BS, and DEL

16 years agodefine DEBUG as 0, for when ENABLE_FEATURE_DEVPTS is not on.
Paul Fox [Wed, 5 Mar 2008 22:01:45 +0000 (22:01 -0000)]
define DEBUG as 0, for when ENABLE_FEATURE_DEVPTS is not on.

16 years agofix vi's '?' and '/' commands to correctly set a new direction
Paul Fox [Wed, 5 Mar 2008 16:44:02 +0000 (16:44 -0000)]
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.

16 years agomsh: create testsuite (based on hush one)
Denis Vlasenko [Sun, 2 Mar 2008 19:57:53 +0000 (19:57 -0000)]
msh: create testsuite (based on hush one)
hush: add TODO (doesn't know ":" command)

16 years agounlzma: save a few more bytes, and maybe even a bit faster now
Denis Vlasenko [Sun, 2 Mar 2008 18:56:23 +0000 (18:56 -0000)]
unlzma: save a few more bytes, and maybe even a bit faster now

16 years agounlzma: if !LZMA_FAST, save ~200 more bytes (Pascal Bellard <pascal.bellard AT ads...
Denis Vlasenko [Sun, 2 Mar 2008 18:55:49 +0000 (18:55 -0000)]
unlzma: if !LZMA_FAST, save ~200 more bytes (Pascal Bellard <pascal.bellard AT ads-lu.com>)

16 years agomsh: a few fields renamed; short->int conversion for a field
Denis Vlasenko [Sun, 2 Mar 2008 14:33:26 +0000 (14:33 -0000)]
msh: a few fields renamed; short->int conversion for a field
  holding file descriptors; short->smalling for flag field

synio                                                263     264      +1
readc                                                247     242      -5
forkexec                                            1339    1307     -32
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 1/-37)             Total: -36 bytes

16 years agoactually add bb_qsort.c
Denis Vlasenko [Sun, 2 Mar 2008 12:53:15 +0000 (12:53 -0000)]
actually add bb_qsort.c
*: s/Denis/Denys/

16 years agolibbb: inntroduce and use bb_pstrcmp() and qsort_string_vector()
Denis Vlasenko [Sun, 2 Mar 2008 12:51:26 +0000 (12:51 -0000)]
libbb: inntroduce and use bb_pstrcmp() and qsort_string_vector()
msh: glob0/glob1/glob2/glob3 are just a sorting routine! remove them.

bb_pstrcmp                                             -      25     +25
qsort_string_vector                                    -      24     +24
expand                                              2209    2227     +18
getopt32                                            1359    1370     +11
passwd_main                                         1072    1074      +2
handle_incoming_and_exit                            2737    2735      -2
UNSPEC_print                                          66      64      -2
forkexec                                            1343    1339      -4
input_tab                                           3338    3330      -8
get_dir                                              185     177      -8
expmeta                                              481     473      -8
cmdputs                                              405     397      -8
xstrcmp                                               12       -     -12
find_pair                                            187     167     -20
match_compare                                         25       -     -25
dir_strcmp                                            25       -     -25
glob2                                                 27       -     -27
glob3                                                 34       -     -34
glob1                                                256       -    -256
------------------------------------------------------------------------------
(add/remove: 2/6 grow/shrink: 3/8 up/down: 80/-439)          Total: -359 bytes

16 years agomsh: renames: ->words => ->op_words, space() => get_space()
Denis Vlasenko [Sun, 2 Mar 2008 12:49:39 +0000 (12:49 -0000)]
msh: renames: ->words => ->op_words, space() => get_space()
msh: simplify glob0/glob1/glob2/glob3

get_space                                              -      26     +26
glob3                                                 35      34      -1
glob2                                                 28      27      -1
strsave                                               55      53      -2
globv                                                  4       -      -4
func                                                   4       -      -4
xstrcmp                                               25      12     -13
dodot                                                178     164     -14
rexecve                                              272     257     -15
space                                                 26       -     -26
glob1                                                292     256     -36
expand                                              2246    2209     -37
------------------------------------------------------------------------------
(add/remove: 1/3 grow/shrink: 0/8 up/down: 26/-153)          Total: -127 bytes

16 years agodoc: add info about sed s/.../.../I modifier
Denis Vlasenko [Sat, 1 Mar 2008 19:29:56 +0000 (19:29 -0000)]
doc: add info about sed s/.../.../I modifier

16 years agomsh: fix for bug 846 ("break" didn't work second time)
Denis Vlasenko [Sat, 1 Mar 2008 09:35:39 +0000 (09:35 -0000)]
msh: fix for bug 846 ("break" didn't work second time)
msh: don't use floating point in "times" builtin
+4 bytes difference

16 years agonmeter: fix bug where %[mf] behaves as %[mt]
Denis Vlasenko [Fri, 29 Feb 2008 07:46:19 +0000 (07:46 -0000)]
nmeter: fix bug where %[mf] behaves as %[mt]

16 years agorun-parts: add --reverse
Denis Vlasenko [Thu, 28 Feb 2008 21:30:22 +0000 (21:30 -0000)]
run-parts: add --reverse

16 years agozcip: chdiring to root when daemonizing is not useful,
Denis Vlasenko [Thu, 28 Feb 2008 18:02:23 +0000 (18:02 -0000)]
zcip: chdiring to root when daemonizing is not useful,
only makes strip writer's life more miserable. Who want
to have zcip run in root dir, can trivially do that.

16 years agosed: n cmd must reset "we had successful subst" flag. closes bug 1214.
Denis Vlasenko [Thu, 28 Feb 2008 17:59:01 +0000 (17:59 -0000)]
sed: n cmd must reset "we had successful subst" flag. closes bug 1214.

16 years agomicrocom: shrink
Denis Vlasenko [Thu, 28 Feb 2008 13:14:42 +0000 (13:14 -0000)]
microcom: shrink