Denis Vlasenko [Thu, 17 Apr 2008 18:04:38 +0000 (18:04 -0000)]
top: fix build failure
Denis Vlasenko [Thu, 17 Apr 2008 12:35:09 +0000 (12:35 -0000)]
httpd: add an example of POST upload CGI
Denis Vlasenko [Thu, 17 Apr 2008 01:52:28 +0000 (01:52 -0000)]
fdisk: fix a case where we can inadvertently close /proc/partitions fd early
Denis Vlasenko [Thu, 17 Apr 2008 00:12:10 +0000 (00:12 -0000)]
fdisk: do not open device twice. Complain on fdisk -l /dev/bogus.
Made enums UPPERCASE. Removed one global variable.
Added some FIXMEs.
text data bss dec hex filename
804708 645 7112 812465 c65b1 busybox_old
804685 641 7112 812438 c6596 busybox_unstripped
Denis Vlasenko [Wed, 16 Apr 2008 15:01:48 +0000 (15:01 -0000)]
arping: remove superfluous assignment
Denis Vlasenko [Tue, 15 Apr 2008 01:17:50 +0000 (01:17 -0000)]
trivial fixes to make bbox compile with gcc 4.3.0
Denis Vlasenko [Mon, 14 Apr 2008 19:56:46 +0000 (19:56 -0000)]
od: fix testsuite
Denis Vlasenko [Mon, 14 Apr 2008 19:50:06 +0000 (19:50 -0000)]
od: fix "od -b"
Denis Vlasenko [Mon, 14 Apr 2008 01:59:53 +0000 (01:59 -0000)]
ash: fix breakage introduced in rev 21481.
Fixes ash-vars/var_posix1.tests testsuite entry.
Denis Vlasenko [Sun, 13 Apr 2008 22:41:27 +0000 (22:41 -0000)]
fix typo in Config.in hext text
Denis Vlasenko [Sun, 13 Apr 2008 22:12:19 +0000 (22:12 -0000)]
make test, [ and [[ all NOFORK, for consistency.
Revamp handling of NOUSAGE applets.
function old new delta
packed_usage 24122 24104 -18
Denis Vlasenko [Sun, 13 Apr 2008 17:45:56 +0000 (17:45 -0000)]
ash: add another testsuite entry ("leaking variables" bug)
Denis Vlasenko [Sun, 13 Apr 2008 08:32:51 +0000 (08:32 -0000)]
less: fix somewhat elusive case when less gets stuck in search mode
function old new delta
read_lines 719 730 +11
goto_match 141 116 -25
Denis Vlasenko [Sun, 13 Apr 2008 08:20:00 +0000 (08:20 -0000)]
man: new applet. ~600 bytes.
Denis Vlasenko [Sun, 13 Apr 2008 02:27:39 +0000 (02:27 -0000)]
fix english in comment
Denis Vlasenko [Sun, 13 Apr 2008 02:25:53 +0000 (02:25 -0000)]
ash: speed up NOFORK code in ash by eliminating second find_applet().
some code reduction along the way.
function old new delta
run_list 1971 1981 +10
run_nofork_applet_prime 181 182 +1
unsetcmd 97 96 -1
delete_cmd_entry 54 53 -1
describe_command 399 397 -2
cmdlookup 152 150 -2
evaltreenr 602 599 -3
evaltree 602 599 -3
clearcmdentry 101 98 -3
cdcmd 675 672 -3
hashcmd 305 301 -4
find_command 933 910 -23
evalcommand 1371 1229 -142
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/11 up/down: 11/-187) Total: -176 bytes
Denis Vlasenko [Sat, 12 Apr 2008 23:02:43 +0000 (23:02 -0000)]
ash: a bit more complete POSIX subst testsuite entry
Denis Vlasenko [Sat, 12 Apr 2008 22:55:33 +0000 (22:55 -0000)]
ash: add testsuite entry for POSIX-mandated ${var#word} ${var##word}
${var%word} ${var%%word}
Denis Vlasenko [Sat, 12 Apr 2008 20:07:53 +0000 (20:07 -0000)]
ash: add FEATURE_SH_NOFORK support
Denis Vlasenko [Sat, 12 Apr 2008 20:07:08 +0000 (20:07 -0000)]
ash: do not do find_applet() twice in shellexec/tryexec
Denis Vlasenko [Sat, 12 Apr 2008 13:46:39 +0000 (13:46 -0000)]
Makefile.IMA: generate autoconf.h if needed
Makefile.IMA: use ld -gc-collect on gc -combine result
(by using trylink script). Saves ~3k.
Bernhard Reutner-Fischer [Fri, 11 Apr 2008 12:42:23 +0000 (12:42 -0000)]
- fix detection of whole-program
It helps if we first pull in the function we use for testing flags ;)
Bernhard Reutner-Fischer [Fri, 11 Apr 2008 12:31:57 +0000 (12:31 -0000)]
- also use the incoming LDFLAGS and EXTRA_LDFLAGS
This isn't perfect since it will barf on linker flags with two args like -Wl,z,now et al.
Bernhard Reutner-Fischer [Fri, 11 Apr 2008 11:59:09 +0000 (11:59 -0000)]
- erm sorry. no ipsvd here
Bernhard Reutner-Fischer [Fri, 11 Apr 2008 11:50:55 +0000 (11:50 -0000)]
- add ipsvd
Denis Vlasenko [Fri, 11 Apr 2008 11:27:29 +0000 (11:27 -0000)]
fix build with gcc -combine
Denis Vlasenko [Fri, 11 Apr 2008 10:54:37 +0000 (10:54 -0000)]
build system: use POSIX options only for cp
cp: improve comment
Bernhard Reutner-Fischer [Fri, 11 Apr 2008 08:46:56 +0000 (08:46 -0000)]
- add printutils and util-linux/volume_id
- pull in Kbuild.includes
Denis Vlasenko [Fri, 11 Apr 2008 02:49:56 +0000 (02:49 -0000)]
webpage: remove date from URL
Denis Vlasenko [Fri, 11 Apr 2008 00:28:19 +0000 (00:28 -0000)]
webpage: s/Denis/Denys/ (I don't like "denys", but it's in passport); add a link to resume
Denis Vlasenko [Thu, 10 Apr 2008 19:59:20 +0000 (19:59 -0000)]
fix "make check"
Denis Vlasenko [Thu, 10 Apr 2008 02:09:40 +0000 (02:09 -0000)]
udhcp,ipcalc: simple code shrink (Nico Erfurth <masta AT perlgolf.de>)
function old new delta
ipcalc_main 609 610 +1
read_staticlease 102 85 -17
ether_aton 17 - -17
Denis Vlasenko [Thu, 10 Apr 2008 02:03:21 +0000 (02:03 -0000)]
nameif: fix vda's breakage (Nico Erfurth <masta AT perlgolf.de>)
function old new delta
nameif_main 684 691 +7
prepend_new_eth_table 304 301 -3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 7/-3) Total: 4 bytes
Denis Vlasenko [Wed, 9 Apr 2008 00:33:53 +0000 (00:33 -0000)]
actually adding xfuncs_printf.c :(
Denis Vlasenko [Wed, 9 Apr 2008 00:33:23 +0000 (00:33 -0000)]
Splitting xfuncs.c into two parts. No code chabges.
Denis Vlasenko [Tue, 8 Apr 2008 21:13:28 +0000 (21:13 -0000)]
Avoid linking in printf/bsearch if possible. -20k for static bbox with
"basename", "true" and "false" only.
function old new delta
full_write2_str - 25 +25
bb_show_usage 183 202 +19
main 883 898 +15
run_applet_and_exit 501 507 +6
Denis Vlasenko [Mon, 7 Apr 2008 21:11:23 +0000 (21:11 -0000)]
dd: update usage text
Denis Vlasenko [Mon, 7 Apr 2008 21:05:59 +0000 (21:05 -0000)]
mount: remove superfluous comment
Denis Vlasenko [Mon, 7 Apr 2008 21:02:35 +0000 (21:02 -0000)]
crond: add handling of "MAILTO=user" lines
sendmail: handle a case when the whole mail comes from stdin
(and no separate sender/subj is provided)
both by dronnikov AT gmail.com
function old new delta
sendgetmail_main 1509 1674 +165
SynchronizeFile 671 767 +96
packed_usage 24054 24088 +34
crond_main 1404 1420 +16
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 311/0) Total: 311 bytes
Denis Vlasenko [Mon, 7 Apr 2008 00:46:29 +0000 (00:46 -0000)]
ping: add -w, -W support (James Simmons <jsimmons AT infradead.org>)
function old new delta
print_stats_and_exit - 282 +282
sendping_tail 151 231 +80
packed_usage 23976 24054 +78
ping_main 401 412 +11
arm_ioctl 13 20 +7
pingstats 259 - -259
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 4/0 up/down: 458/-259) Total: 199 bytes
Denis Vlasenko [Sun, 6 Apr 2008 07:17:02 +0000 (07:17 -0000)]
brctl: optional support for "show" cmd (by L. Gabriel Somlo <somlo AT cmu.edu>)
function old new delta
brctl_main 739 1186 +447
if_indextoname - 104 +104
static.keywords 827 841 +14
static.ops - 7 +7
packed_usage 23978 23976 -2
Denis Vlasenko [Sat, 5 Apr 2008 04:24:23 +0000 (04:24 -0000)]
init: fix askfirst not working as intended
Denis Vlasenko [Sat, 5 Apr 2008 02:46:47 +0000 (02:46 -0000)]
cpio: actually add testsuite entry...
Denis Vlasenko [Sat, 5 Apr 2008 02:44:30 +0000 (02:44 -0000)]
cpio: fix a bug where we do not extract zero-sized hardlinks
(spotted at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466771).
Add testsuite entry for that, and another one for another bug:
we do not list hardlinks in cpio -t (not fixed).
function old new delta
get_header_cpio 884 909 +25
static.saved_hardlinks_created - 4 +4
static.pending_hardlinks 4 - -4
static.inode 4 - -4
cpio_main 1122 1060 -62
Denis Vlasenko [Sat, 5 Apr 2008 00:13:19 +0000 (00:13 -0000)]
cpio: typo fix in error message
Denis Vlasenko [Sat, 5 Apr 2008 00:07:46 +0000 (00:07 -0000)]
cpio: optional support for writing cpio files in newc format.
by pascal.bellard AT ads-lu.com.
function old new delta
cpio_main 247 1122 +875
cpio_pad4 - 58 +58
gnu_dev_major 66 99 +33
gnu_dev_minor 38 57 +19
packed_usage 23964 23978 +14
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 4/0 up/down: 999/0) Total: 999 bytes
Denis Vlasenko [Fri, 4 Apr 2008 20:38:49 +0000 (20:38 -0000)]
fbsplash: more compact support for named pipes + EOF scenario
function old new delta
fbsplash_main 1121 1043 -78
Denis Vlasenko [Wed, 2 Apr 2008 21:20:35 +0000 (21:20 -0000)]
dd: support conv=fsync
dd: support "dd --" if CONFIG_DESKTOP=y
function old new delta
static.conv_words - 28 +28
dd_main 1369 1373 +4
static.keywords 848 827 -21
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 32/-21) Total: 11 bytes
Denis Vlasenko [Wed, 2 Apr 2008 20:24:09 +0000 (20:24 -0000)]
expr: fix comparisons 'a < b' where we were overflowing a-b
(not to mention that we used int, not arith_t). closes bug 2744.
Also, shrink a bit and add testsuite entry
function old new delta
nextarg 75 84 +9
tostring 38 35 -3
toarith 89 86 -3
str_value 35 32 -3
eval6 555 552 -3
int_value 29 23 -6
eval4 128 120 -8
eval3 112 104 -8
eval2 512 417 -95
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/8 up/down: 9/-129) Total: -120 bytes
Denis Vlasenko [Wed, 2 Apr 2008 13:04:19 +0000 (13:04 -0000)]
udhcpc: add -o "do not request options by default" switch
(by L. Gabriel Somlo <somlo AT cmu.edu>)
function old new delta
udhcpc_main 2513 2554 +41
static.udhcpc_longopts 226 247 +21
add_param_req_option 119 132 +13
packed_usage 23952 23964 +12
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 87/0) Total: 87 bytes
Denis Vlasenko [Tue, 1 Apr 2008 17:43:03 +0000 (17:43 -0000)]
xfunc_die: resurrect (actually, it's "svn add" being forgotten again)
Denis Vlasenko [Tue, 1 Apr 2008 16:29:21 +0000 (16:29 -0000)]
basename: tiny shrink
Denis Vlasenko [Tue, 1 Apr 2008 16:13:14 +0000 (16:13 -0000)]
chpst: fix "env directory" parsing to not strip everything
after 1st whitespace. -6 bytes.
Denis Vlasenko [Tue, 1 Apr 2008 16:12:17 +0000 (16:12 -0000)]
script: do not ignore poll() errors. ~+20 bytes.
Denis Vlasenko [Tue, 1 Apr 2008 14:47:57 +0000 (14:47 -0000)]
shells: do not frocibly enable test, echo and kill _applets_,
just build relevant source and use xxx_main functions.
build system: add a special case when we have exactly one applet enabled
(makes "true", "false", "basename" REALLY tiny).
getopt32: do not use stdio.
function old new delta
getopt32 1385 1412 +27
make_device 1187 1200 +13
basename_main 120 127 +7
tcpudpsvd_main 1922 1926 +4
testcmd 5 - -5
echocmd 5 - -5
fuser_main 1243 1231 -12
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 4/1 up/down: 51/-22) Total: 29 bytes
Denis Vlasenko [Mon, 31 Mar 2008 20:30:38 +0000 (20:30 -0000)]
tcpudp: trivial build fix
Denis Vlasenko [Sun, 30 Mar 2008 15:56:38 +0000 (15:56 -0000)]
libbb: preventive fix for SIGxxx >= 32
Denis Vlasenko [Sun, 30 Mar 2008 13:11:47 +0000 (13:11 -0000)]
g[un]zip: accept and ignore -n (needed for kernel compile)
Denis Vlasenko [Sat, 29 Mar 2008 17:59:27 +0000 (17:59 -0000)]
fuser: fix vda's breakage: DOH! chdir'ing to /proc breaks relative paths
Denis Vlasenko [Sat, 29 Mar 2008 17:26:10 +0000 (17:26 -0000)]
mdev: optional support for regex pattern group substitution.
+142 bytes.
Denis Vlasenko [Sat, 29 Mar 2008 16:07:46 +0000 (16:07 -0000)]
mdev: fix block/char device detection. Closes bug 2144.
Denis Vlasenko [Sat, 29 Mar 2008 16:00:52 +0000 (16:00 -0000)]
inetd: small shrink for NOMMU case
function old new delta
cat_args - 8 +8
echo_stream 64 63 -1
discard_stream 64 63 -1
static.args 32 12 -20
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/3 up/down: 8/-22) Total: -14 bytes
Denis Vlasenko [Sat, 29 Mar 2008 15:11:07 +0000 (15:11 -0000)]
mdev: fix "foo 0:0 444 >bar/baz" rule handling. make_device() +23 bytes
Denis Vlasenko [Sat, 29 Mar 2008 13:10:57 +0000 (13:10 -0000)]
mdev: fix a bug where it was not stopping on first matching rule
(testsuite entry added). Revamped line parsing while at it.
function old new delta
next_field - 36 +36
make_device 1104 1022 -82
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/1 up/down: 36/-82) Total: -46 bytes
Denis Vlasenko [Sat, 29 Mar 2008 07:40:35 +0000 (07:40 -0000)]
ftpgetput: move control_stream to "struct globals";
unify common data pumpung stage for upload and download;
other small shrinkage. EPSV still not implemented...
function old new delta
pump_data_and_QUIT - 82 +82
xconnect_ftpdata 127 156 +29
ftpcmd 301 304 +3
ftp_die 59 55 -4
ftpgetput_main 352 344 -8
ftp_send 185 91 -94
ftp_receive 394 293 -101
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/4 up/down: 114/-207) Total: -93 bytes
Denis Vlasenko [Sat, 29 Mar 2008 07:37:42 +0000 (07:37 -0000)]
ftpgetput: deal with long-standing TODOs:
- do not use ALLO on upload
- move globals to "struct globals"
- move buf[] there too
- remove commented out "filesize" code
- other shrinkage
function old new delta
xconnect_ftpdata 117 127 +10
ftp_die 49 59 +10
ftpcmd 292 301 +9
verbose_flag 1 - -1
do_continue 1 - -1
ftpgetput_main 405 352 -53
ftp_receive 451 394 -57
ftp_send 325 185 -140
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 3/3 up/down: 29/-252) Total: -223 bytes
Denis Vlasenko [Fri, 28 Mar 2008 22:11:49 +0000 (22:11 -0000)]
ftpgetput: add comment about EPSV (extended PASV).
Fix bug where we were using lstat instead of stat.
Added many TODOs.
Denis Vlasenko [Fri, 28 Mar 2008 17:49:31 +0000 (17:49 -0000)]
copy_file: handle "cp /dev/foo file" (almost) compatibly to coreutils.
(almost because we do not copy mode, which is probably wasn't intended).
+61 bytes.
Denis Vlasenko [Fri, 28 Mar 2008 11:17:35 +0000 (11:17 -0000)]
fbsplash: move to /sbin; small shrink
function old new delta
fb_drawprogressbar 413 423 +10
fbsplash_main 1146 1121 -25
Denis Vlasenko [Fri, 28 Mar 2008 02:24:59 +0000 (02:24 -0000)]
fix a few stray unguarded strdup's
Denis Vlasenko [Fri, 28 Mar 2008 01:00:09 +0000 (01:00 -0000)]
whitespace fixes
Denis Vlasenko [Thu, 27 Mar 2008 22:45:44 +0000 (22:45 -0000)]
mdev: plug a few memory and fd leaks; simplify code a bit
Denis Vlasenko [Thu, 27 Mar 2008 20:49:26 +0000 (20:49 -0000)]
mdev: add testsuite entry
Denis Vlasenko [Thu, 27 Mar 2008 16:26:35 +0000 (16:26 -0000)]
openvt: fix gross mismatch between us and "standard" openvt.
standard one even has different syntax!
std: "openvt -c 12", we: "openvt 12"
std: "openvt top", we: complain that "top" is not a number.
openvt: implement -c -w -s (-l -f -v are also accepted but ingnored)
openvt_main 188 343 +155
vfork_child - 67 +67
not_vt_fd - 23 +23
packed_usage 23932 23952 +20
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 2/0 up/down: 265/0) Total: 265 bytes
text data bss dec hex filename
801344 641 7380 809365 c5995 busybox_old
801617 641 7380 809638 c5aa6 busybox_unstripped
Denis Vlasenko [Thu, 27 Mar 2008 13:14:29 +0000 (13:14 -0000)]
fbsplash: support this usage:
mkfifo cmd_pipe
fbsplash -f cmd_pipe .... &
...
echo 33 >cmd_pipe
...
echo 66 >cmd_pipe
Code size: fbsplash_main +116 bytes :(
Denis Vlasenko [Wed, 26 Mar 2008 20:06:24 +0000 (20:06 -0000)]
fbsplash: fix broken handling of buffered case:
"{echo 45; echo 33; } | { sleep 1; fbsplash -f - ...; }"
function old new delta
fb_drawprogressbar - 413 +413
xmalloc_fgetline - 46 +46
xmalloc_reads 184 183 -1
xmalloc_getline 46 - -46
fbsplash_main 1472 1030 -442
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 0/2 up/down: 459/-489) Total: -30 bytes
text data bss dec hex filename
801181 641 7380 809202 c58f2 busybox_old
801151 641 7380 809172 c58d4 busybox_unstripped
Denis Vlasenko [Wed, 26 Mar 2008 20:04:27 +0000 (20:04 -0000)]
*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/
Bernhard Reutner-Fischer [Wed, 26 Mar 2008 16:15:13 +0000 (16:15 -0000)]
- add fbsplash and CONFIG_ASH_BASH_COMPAT to defconfig
Denis Vlasenko [Wed, 26 Mar 2008 15:12:11 +0000 (15:12 -0000)]
fbsplash: cosmetic comment and Config text fixes; rename .ini -> .cfg
Denis Vlasenko [Wed, 26 Mar 2008 14:57:49 +0000 (14:57 -0000)]
fbsplash: shrink, better help text; inifile cannot specify image now;
image can come from stdin
function old new delta
packed_usage 23872 23932 +60
static.param_names - 57 +57
fbsplash_main 1525 1472 -53
static.param_value 100 - -100
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 1/1 up/down: 117/-153) Total: -36 bytes
text data bss dec hex filename
801202 641 7380 809223 c5907 busybox_old
801181 641 7380 809202 c58f2 busybox_unstripped
Denis Vlasenko [Wed, 26 Mar 2008 13:32:30 +0000 (13:32 -0000)]
patch: add support for -R. ~ +110 byte. By Pascal Bellard <pascal.bellard AT ads-lu.com>
fbsplash: new applet by Michele Sanges <michele.sanges AT otomelara.it
function old new delta
fbsplash_main - 1525 +1525
fb_drawfullrectangle - 118 +118
static.param_value - 100 +100
packed_usage 23776 23872 +96
applet_names 1843 1852 +9
applet_main 1120 1124 +4
read_line_input 3156 3158 +2
applet_nameofs 560 562 +2
applet_install_loc 140 141 +1
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 6/0 up/down: 1857/0) Total: 1857 bytes
text data bss dec hex filename
799233 641 7380 807254 c5156 busybox_old
801202 641 7380 809223 c5907 busybox_unstripped
Denis Vlasenko [Tue, 25 Mar 2008 14:15:39 +0000 (14:15 -0000)]
patch: fix vda's thinko: we need to open new_filename.orig, always!
plug memory leak; add testsuite
patch_main 1009 988 -21
Denis Vlasenko [Tue, 25 Mar 2008 07:49:43 +0000 (07:49 -0000)]
ash: support for && and || in [[ expr ]]; add testsuite checks
Denis Vlasenko [Tue, 25 Mar 2008 06:10:14 +0000 (06:10 -0000)]
ifupdown: support for %retries% (L. Gabriel Somlo <somlo AT cmu.edu>)
Denis Vlasenko [Tue, 25 Mar 2008 06:04:58 +0000 (06:04 -0000)]
udhcp: build fix for ppc kernel 2.4.36
Denis Vlasenko [Tue, 25 Mar 2008 06:03:19 +0000 (06:03 -0000)]
lpd: small shrink
lpd_main 761 747 -14
Denis Vlasenko [Tue, 25 Mar 2008 05:51:41 +0000 (05:51 -0000)]
ash: comment about [[; code style fixes. No code changes.
Denis Vlasenko [Tue, 25 Mar 2008 03:17:04 +0000 (03:17 -0000)]
help text shrinkage
Denis Vlasenko [Tue, 25 Mar 2008 02:49:11 +0000 (02:49 -0000)]
date: even more of help text shrink
Denis Vlasenko [Tue, 25 Mar 2008 02:43:34 +0000 (02:43 -0000)]
date: make help text more understandable; small shrink
text data bss dec hex filename
799025 641 7380 807046 c5086 busybox_old
799009 641 7380 807030 c5076 busybox_unstripped
Denis Vlasenko [Tue, 25 Mar 2008 01:17:40 +0000 (01:17 -0000)]
ash: optional bash-like pattern subst and substring opts
(by James Simmons <jsimmons AT infradead.org>)
TODO: write testsuite!
BASH_COMPAT off:
scanleft 101 262 +161
subevalvar 346 335 -11
BASH_COMPAT on:
subevalvar 346 1397 +1051
scanleft 101 262 +161
readtoken1 2739 2807 +68
cmdputs 397 399 +2
static.vstype 64 48 -16
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/1 up/down: 1282/-16) Total: 1266 bytes
Denis Vlasenko [Tue, 25 Mar 2008 00:07:12 +0000 (00:07 -0000)]
ash: add read -u; fix read -t and read -n; add testsuite entries.
Denis Vlasenko [Mon, 24 Mar 2008 21:19:51 +0000 (21:19 -0000)]
lpd: debugging by Vladimir: he found vda's breakage (trashed s[0])!
Denis Vlasenko [Mon, 24 Mar 2008 20:33:47 +0000 (20:33 -0000)]
diff: add testsuite entry for it
Denis Vlasenko [Mon, 24 Mar 2008 18:40:32 +0000 (18:40 -0000)]
diff: improve comments (no code chages)
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
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
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
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
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