oweals/busybox.git
14 years agohead,tail: trim help text; make suffixes unconditional for head too
Denys Vlasenko [Tue, 2 Mar 2010 15:18:14 +0000 (16:18 +0100)]
head,tail: trim help text; make suffixes unconditional for head too

function                                             old     new   delta
packed_usage                                       26411   26375     -36

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years ago*: do not check for POLLIN/POLLOUT only, just in case it's POLHUP/POLERR
Denys Vlasenko [Tue, 2 Mar 2010 14:02:45 +0000 (15:02 +0100)]
*: do not check for POLLIN/POLLOUT only, just in case it's POLHUP/POLERR

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agosyslog: allow multiple -R options
Thomas Geulig [Sun, 28 Feb 2010 12:01:59 +0000 (13:01 +0100)]
syslog: allow multiple -R options

function                                             old     new   delta
syslogd_main                                        1082    1177     +95
init_data                                             72      64      -8

Signed-off-by: Thomas Geulig <geulig@nentec.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agomodprobe: pick up module options from /proc/cmdline too
Denys Vlasenko [Sat, 27 Feb 2010 22:15:22 +0000 (23:15 +0100)]
modprobe: pick up module options from /proc/cmdline too

Based on patch by Ozan Çağlayan (ozan AT pardus.org.tr)

function                                             old     new   delta
parse_and_add_kcmdline_module_options                  -     149    +149
do_modprobe                                          357     365      +8

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoMerge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busybox
Denys Vlasenko [Sat, 27 Feb 2010 22:15:22 +0000 (23:15 +0100)]
Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busybox

14 years ago*: gethostname-related fixes
Denys Vlasenko [Sat, 27 Feb 2010 18:38:19 +0000 (19:38 +0100)]
*: gethostname-related fixes

function                                             old     new   delta
hostname_main                                        218     231     +13
nfsmount                                            3541    3474     -67

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoConfig: fix alphabetical ordering
Bernhard Reutner-Fischer [Fri, 26 Feb 2010 18:33:49 +0000 (19:33 +0100)]
Config: fix alphabetical ordering

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
14 years agotail: document FANCY flags in helptext
Bernhard Reutner-Fischer [Fri, 26 Feb 2010 17:33:39 +0000 (18:33 +0100)]
tail: document FANCY flags in helptext

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
14 years agodf: explain FANCY options in helptext
Bernhard Reutner-Fischer [Fri, 26 Feb 2010 17:21:42 +0000 (18:21 +0100)]
df: explain FANCY options in helptext

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
14 years agoreuse a few strings
Bernhard Reutner-Fischer [Fri, 26 Feb 2010 09:09:31 +0000 (10:09 +0100)]
reuse a few strings

   text    data     bss     dec     hex filename
 839040     453    6828  846321   ce9f1 busybox_old
 839019     453    6828  846300   ce9dc busybox_unstripped

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agosu: move restricted_shell into su.c (the only user)
Denys Vlasenko [Fri, 26 Feb 2010 09:01:18 +0000 (10:01 +0100)]
su: move restricted_shell into su.c (the only user)

function                                             old     new   delta
su_main                                              448     468     +20
buffer_fill_and_print                                179     196     +17
scriptreplay_main                                    205     208      +3
localcmd                                             275     277      +2
hash_find                                            233     234      +1
devmem_main                                          469     463      -6
install_main                                         724     716      -8
setusershell                                          11       -     -11
find_pair                                            187     169     -18
restricted_shell                                      49       -     -49
------------------------------------------------------------------------------
(add/remove: 0/3 grow/shrink: 5/3 up/down: 43/-92)            Total: -49 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agosetup_environment(): eliminate one parameter
Denys Vlasenko [Fri, 26 Feb 2010 08:52:45 +0000 (09:52 +0100)]
setup_environment(): eliminate one parameter

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agocrontab: use setup_environment
Bernhard Reutner-Fischer [Wed, 24 Feb 2010 15:10:09 +0000 (16:10 +0100)]
crontab: use setup_environment

function                                             old     new   delta
setup_environment                                    184     198     +14
.rodata                                           131770  131747     -23
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 14/-23)             Total: -9 bytes

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
14 years agofree: silence warning about unused argv
Bernhard Reutner-Fischer [Fri, 26 Feb 2010 08:28:30 +0000 (09:28 +0100)]
free: silence warning about unused argv

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoawk: skip whitespace between array name and subscript
Alexander Shishkin [Thu, 25 Feb 2010 15:55:40 +0000 (17:55 +0200)]
awk: skip whitespace between array name and subscript

It is supported in both mawk and gawk and there are actually scripts
out there that use this "flexibility".

function                                             old     new   delta
next_token                                          1144    1152      +8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 8/0)                 Total: 8 bytes

Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agofind: tweak error message
Bernhard Reutner-Fischer [Thu, 25 Feb 2010 12:22:37 +0000 (13:22 +0100)]
find: tweak error message

big find:
find: missing argument to `-exec'
we now say
find: -exec requires an argument
instead of the cryptic message we emitted previously.
Additional benefit is that it's now 23 bytes smaller.

Add TODO to add '-exec {} +' support

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
14 years agotypo fixes
Denys Vlasenko [Wed, 24 Feb 2010 13:27:55 +0000 (14:27 +0100)]
typo fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agomdev: fix subsystem passing (new kernels broke it again) - bugs 639, 721.
Denys Vlasenko [Wed, 24 Feb 2010 09:39:47 +0000 (10:39 +0100)]
mdev: fix subsystem passing (new kernels broke it again) - bugs 639, 721.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agofdisk: do not treat names ending in '0' as partitions
Denys Vlasenko [Wed, 24 Feb 2010 07:13:30 +0000 (08:13 +0100)]
fdisk: do not treat names ending in '0' as partitions

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agotweak README (s/svn/git)
Denys Vlasenko [Wed, 24 Feb 2010 05:59:54 +0000 (06:59 +0100)]
tweak README (s/svn/git)

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoinstall: strip before mode/uid/gid is set, not after.
Denys Vlasenko [Sun, 21 Feb 2010 15:55:29 +0000 (16:55 +0100)]
install: strip before mode/uid/gid is set, not after.

function                                             old     new   delta
install_main                                         694     716     +22
basename                                              21       -     -21

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoloadfont/setfont: optional PSF2 font support
Harald Becker [Sun, 21 Feb 2010 12:10:26 +0000 (13:10 +0100)]
loadfont/setfont: optional PSF2 font support

Signed-off-by: Harald Becker <ralda@gmx.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agofree: code shrink
Denys Vlasenko [Sun, 21 Feb 2010 04:39:59 +0000 (05:39 +0100)]
free: code shrink

function                                             old     new   delta
free_main                                            330     302     -28

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoReplace __uClinux__ define with !BB_MMU
Denys Vlasenko [Sun, 21 Feb 2010 04:17:41 +0000 (05:17 +0100)]
Replace __uClinux__ define with !BB_MMU

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agofix bug 1087. Fix by Leonid (lly.dev AT gmail.com)
Denys Vlasenko [Sun, 21 Feb 2010 00:26:42 +0000 (01:26 +0100)]
fix bug 1087. Fix by Leonid (lly.dev AT gmail.com)

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agofix typos in comments and doc
Denys Vlasenko [Fri, 19 Feb 2010 08:16:33 +0000 (09:16 +0100)]
fix typos in comments and doc

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agofix Unicode build on glibc
Denys Vlasenko [Fri, 19 Feb 2010 07:47:17 +0000 (08:47 +0100)]
fix Unicode build on glibc

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agonetstat: fix a trivial bug
Denys Vlasenko [Fri, 19 Feb 2010 07:29:32 +0000 (08:29 +0100)]
netstat: fix a trivial bug

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agousage: fix typo
Bernhard Reutner-Fischer [Sun, 14 Feb 2010 10:11:47 +0000 (11:11 +0100)]
usage: fix typo

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
14 years agodelete forgotten chunk in prev commit
Denys Vlasenko [Sun, 14 Feb 2010 04:49:14 +0000 (05:49 +0100)]
delete forgotten chunk in prev commit

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agotrim help text
Denys Vlasenko [Sun, 14 Feb 2010 04:43:22 +0000 (05:43 +0100)]
trim help text

function                                             old     new   delta
packed_usage                                       26860   26663    -197

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agotrim/regularize help text
Denys Vlasenko [Sat, 13 Feb 2010 01:59:30 +0000 (02:59 +0100)]
trim/regularize help text

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agogunzip: inflate_codes(): add fix from upstream gzip to prevent false CRC error
Joakim Tjernlund [Mon, 8 Feb 2010 17:55:15 +0000 (18:55 +0100)]
gunzip: inflate_codes(): add fix from upstream gzip to prevent false CRC error

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoinclude/platform.h: PowerPC can also do unaligned access
Joakim Tjernlund [Thu, 11 Feb 2010 07:48:15 +0000 (08:48 +0100)]
include/platform.h: PowerPC can also do unaligned access

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agowget: fix bug 1057 "busybox wget segfaults with http_proxy environment set"
Denys Vlasenko [Thu, 11 Feb 2010 03:23:43 +0000 (04:23 +0100)]
wget: fix bug 1057 "busybox wget segfaults with http_proxy environment set"

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agowget: ignore --no-check-certificate
Bernhard Reutner-Fischer [Wed, 10 Feb 2010 18:37:29 +0000 (19:37 +0100)]
wget: ignore --no-check-certificate

Used in a number of scripts, don't barf on it (we don't do ssl ATM).

function                                             old     new   delta
static.wget_longopts                                 122     145     +23
.rodata                                           131925  131947     +22
packed_usage                                       26860   26859      -1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 45/-1)              Total: 44 bytes

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
14 years agocompat and warning fixes
Denys Vlasenko [Mon, 8 Feb 2010 23:26:10 +0000 (00:26 +0100)]
compat and warning fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agolibbb/md5.c: remove wrong comment
Denys Vlasenko [Mon, 8 Feb 2010 16:46:49 +0000 (17:46 +0100)]
libbb/md5.c: remove wrong comment

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agovolume_id/linux_swap: detect suspended image signatures too
Vladimir Dronnikov [Mon, 8 Feb 2010 02:08:05 +0000 (03:08 +0100)]
volume_id/linux_swap: detect suspended image signatures too

Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agohush: note a FIXME
Denys Vlasenko [Mon, 8 Feb 2010 02:04:22 +0000 (03:04 +0100)]
hush: note a FIXME

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoshaNNNsum: accept and ignore -b and -t
Denys Vlasenko [Sun, 7 Feb 2010 22:28:23 +0000 (23:28 +0100)]
shaNNNsum: accept and ignore -b and -t

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agobloat-o-meter: convert to print() calls
Bernhard Reutner-Fischer [Sun, 7 Feb 2010 18:42:48 +0000 (19:42 +0100)]
bloat-o-meter: convert to print() calls

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
14 years agobloat-o-meter: fix quadric behavior in alias resolution
Bernhard Reutner-Fischer [Sun, 7 Feb 2010 18:26:18 +0000 (19:26 +0100)]
bloat-o-meter: fix quadric behavior in alias resolution

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
14 years agodnsd: add -s option. This allows (clumsy) operation with read dns servers
Denys Vlasenko [Sun, 7 Feb 2010 01:45:03 +0000 (02:45 +0100)]
dnsd: add -s option. This allows (clumsy) operation with read dns servers

function                                             old     new   delta
packed_usage                                       26816   26886     +70
dnsd_main                                           1299    1303      +4

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agodnsd: add more -v messages
Denys Vlasenko [Sun, 7 Feb 2010 00:11:18 +0000 (01:11 +0100)]
dnsd: add more -v messages

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agodnsd: better usage text
Denys Vlasenko [Sat, 6 Feb 2010 22:44:59 +0000 (23:44 +0100)]
dnsd: better usage text

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agodnsd: fix one big-endian goof; add a TODO about RA bit
Denys Vlasenko [Sat, 6 Feb 2010 21:48:10 +0000 (22:48 +0100)]
dnsd: fix one big-endian goof; add a TODO about RA bit

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoadduser: copy /etc/skel to mew homes. +100 bytes
Denys Vlasenko [Sat, 6 Feb 2010 20:50:59 +0000 (21:50 +0100)]
adduser: copy /etc/skel to mew homes. +100 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agocosmetic fixes
Denys Vlasenko [Sat, 6 Feb 2010 20:11:49 +0000 (21:11 +0100)]
cosmetic fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agohexdump: fix "hexdump nonexistent_file" handling
Denys Vlasenko [Sat, 6 Feb 2010 12:53:21 +0000 (13:53 +0100)]
hexdump: fix "hexdump nonexistent_file" handling

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agowhitespace fix
Denys Vlasenko [Sat, 6 Feb 2010 12:25:12 +0000 (13:25 +0100)]
whitespace fix

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoudhcp[cd]: fix aliasing warnings
Denys Vlasenko [Fri, 5 Feb 2010 14:35:05 +0000 (15:35 +0100)]
udhcp[cd]: fix aliasing warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoawk: remove wrong comment
Denys Vlasenko [Fri, 5 Feb 2010 13:54:22 +0000 (14:54 +0100)]
awk: remove wrong comment

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years ago*: fix 1/4 remaining aliasing warnings
Denys Vlasenko [Fri, 5 Feb 2010 13:40:23 +0000 (14:40 +0100)]
*: fix 1/4 remaining aliasing warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years ago*: eliminate more aliasing warnings
Denys Vlasenko [Thu, 4 Feb 2010 17:41:18 +0000 (18:41 +0100)]
*: eliminate more aliasing warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years ago*: suppress ~60% of "aliased warnings" on gcc-4.4.1
Denys Vlasenko [Thu, 4 Feb 2010 14:00:15 +0000 (15:00 +0100)]
*: suppress ~60% of "aliased warnings" on gcc-4.4.1

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agodiff: more compiler compat fixes. no code changes
Dan Fandrich [Thu, 4 Feb 2010 03:04:56 +0000 (04:04 +0100)]
diff: more compiler compat fixes. no code changes

Signed-off-by: Dan Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agodiff: make code more portable
Dan Fandrich [Wed, 3 Feb 2010 23:10:30 +0000 (00:10 +0100)]
diff: make code more portable

function                                             old     new   delta
create_J                                            1835    1849     +14
diffreg                                             1268    1255     -13

Signed-off-by: Dan Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agolibbb: fix bb_ask() to operate on correct fd
Denys Vlasenko [Wed, 3 Feb 2010 11:17:06 +0000 (12:17 +0100)]
libbb: fix bb_ask() to operate on correct fd

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agobloat-o-meter: teach it to handle aliases
Bernhard Reutner-Fischer [Sat, 30 Jan 2010 17:01:17 +0000 (18:01 +0100)]
bloat-o-meter: teach it to handle aliases

Previously aliases were counted as full implementation taking up space:
setservent                                            64      55      -9
__GI_setservent                                       64      55      -9
getservent_r                                         420     319    -101
__GI_getservent_r                                    420     319    -101

Teach it to properly handle aliases.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
14 years agomkfs_ext2: fix bad comment. no code changes
Denys Vlasenko [Tue, 2 Feb 2010 11:54:19 +0000 (12:54 +0100)]
mkfs_ext2: fix bad comment. no code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agomore thorough fix for systems with strange socklen_t
Denys Vlasenko [Tue, 2 Feb 2010 11:45:38 +0000 (12:45 +0100)]
more thorough fix for systems with strange socklen_t

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agostat: get rid on intmax_t
Denys Vlasenko [Tue, 2 Feb 2010 02:08:57 +0000 (03:08 +0100)]
stat: get rid on intmax_t

function                                             old     new   delta
print_it                                             225     218      -7
print_stat                                           919     889     -30
print_statfs                                         370     339     -31
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-68)             Total: -68 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agotftpd: fix file creation with bogus mode. Closes bug 1021.
Denys Vlasenko [Tue, 2 Feb 2010 00:01:40 +0000 (01:01 +0100)]
tftpd: fix file creation with bogus mode. Closes bug 1021.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agomkXXXX: unify [KBYTES] parameter handling (added it to mkswap)
Denys Vlasenko [Mon, 1 Feb 2010 22:48:27 +0000 (23:48 +0100)]
mkXXXX: unify [KBYTES] parameter handling (added it to mkswap)

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agodocs/unicode.txt: added more TODOs
Denys Vlasenko [Mon, 1 Feb 2010 21:35:30 +0000 (22:35 +0100)]
docs/unicode.txt: added more TODOs

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoadd unicode.txt
Denys Vlasenko [Mon, 1 Feb 2010 14:58:08 +0000 (15:58 +0100)]
add unicode.txt

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoremove now-unneeded memset
Denys Vlasenko [Mon, 1 Feb 2010 12:45:04 +0000 (13:45 +0100)]
remove now-unneeded memset

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agomake echo -e "foo\nfoo" | passwd USER work
Denys Vlasenko [Mon, 1 Feb 2010 03:55:30 +0000 (04:55 +0100)]
make  echo -e "foo\nfoo" | passwd USER  work

Suggested by Michael Zhu (linuxsir320 AT gmail.com)

function                                             old     new   delta
bb_ask                                               333     340      +7

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agobetter wording in Config
Denys Vlasenko [Sun, 31 Jan 2010 17:12:57 +0000 (18:12 +0100)]
better wording in Config

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agounicode: exclude FDD0..FDEF range too
Denys Vlasenko [Sun, 31 Jan 2010 15:34:37 +0000 (16:34 +0100)]
unicode: exclude FDD0..FDEF range too

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoexclude more invalid unicode chars
Denys Vlasenko [Sun, 31 Jan 2010 15:04:30 +0000 (16:04 +0100)]
exclude more invalid unicode chars

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agotypo fix
Denys Vlasenko [Sun, 31 Jan 2010 04:57:47 +0000 (05:57 +0100)]
typo fix

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agols: fix handling of broken unicode sequences
Denys Vlasenko [Sun, 31 Jan 2010 04:55:55 +0000 (05:55 +0100)]
ls: fix handling of broken unicode sequences

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agols: unicode fixes
Denys Vlasenko [Sun, 31 Jan 2010 04:15:38 +0000 (05:15 +0100)]
ls: unicode fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agocal: add a unicode test
Denys Vlasenko [Sat, 30 Jan 2010 23:10:18 +0000 (00:10 +0100)]
cal: add a unicode test

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agofurther work on unicodization
Denys Vlasenko [Sat, 30 Jan 2010 22:16:21 +0000 (23:16 +0100)]
further work on unicodization

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agofix Unicode config option limits and some comments in less
Denys Vlasenko [Sat, 30 Jan 2010 17:09:18 +0000 (18:09 +0100)]
fix Unicode config option limits and some comments in less

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agosyslog: remove stray umask(0)
Denys Vlasenko [Fri, 29 Jan 2010 15:44:48 +0000 (16:44 +0100)]
syslog: remove stray umask(0)

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoExample Unicode files
Denys Vlasenko [Fri, 29 Jan 2010 08:12:31 +0000 (09:12 +0100)]
Example Unicode files

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agomore fine-grained Unicode support
Denys Vlasenko [Fri, 29 Jan 2010 08:11:47 +0000 (09:11 +0100)]
more fine-grained Unicode support

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agostyle fixes, no code changes
Denys Vlasenko [Thu, 28 Jan 2010 11:30:24 +0000 (12:30 +0100)]
style fixes, no code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years ago*: style fixes. no code changes (verified with objdump)
Denys Vlasenko [Thu, 28 Jan 2010 01:24:24 +0000 (02:24 +0100)]
*: style fixes. no code changes (verified with objdump)

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agohush: more "greppable" field names. no code changes
Denys Vlasenko [Thu, 28 Jan 2010 00:57:05 +0000 (01:57 +0100)]
hush: more "greppable" field names. no code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoupdate TODO_config_nommu
Denys Vlasenko [Wed, 27 Jan 2010 20:03:34 +0000 (21:03 +0100)]
update TODO_config_nommu

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoupdate defconfig
Denys Vlasenko [Wed, 27 Jan 2010 19:57:00 +0000 (20:57 +0100)]
update defconfig

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agolibiproute: eliminate unused fields in struct filter_t's; style fixes
Denys Vlasenko [Tue, 26 Jan 2010 10:03:16 +0000 (11:03 +0100)]
libiproute: eliminate unused fields in struct filter_t's; style fixes

function                                             old     new   delta
print_route                                         1603    1588     -15
iproute_list_or_flush                               1254    1230     -24
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-39)             Total: -39 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agostart 1.17.x development
Denys Vlasenko [Tue, 26 Jan 2010 07:34:49 +0000 (08:34 +0100)]
start 1.17.x development

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoBump version to 1.16.0 1_16_0
Denys Vlasenko [Tue, 26 Jan 2010 07:19:00 +0000 (08:19 +0100)]
Bump version to 1.16.0

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agomodprobe: protect against possible SEGV
Denys Vlasenko [Tue, 26 Jan 2010 07:17:45 +0000 (08:17 +0100)]
modprobe: protect against possible SEGV

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agowhitespace fix
Denys Vlasenko [Tue, 26 Jan 2010 07:04:18 +0000 (08:04 +0100)]
whitespace fix

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agontpd: explain why scripts can be run in quick succession
Denys Vlasenko [Mon, 25 Jan 2010 18:30:16 +0000 (19:30 +0100)]
ntpd: explain why scripts can be run in quick succession

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agowhitespace fixes
Denys Vlasenko [Mon, 25 Jan 2010 12:39:24 +0000 (13:39 +0100)]
whitespace fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agounicode_wcwidth.c: shrink
Denys Vlasenko [Mon, 25 Jan 2010 12:24:06 +0000 (13:24 +0100)]
unicode_wcwidth.c: shrink

function                                             old     new   delta
static.combining1                                      -     184    +184
in_interval_table                                      -      78     +78
bb_wcwidth                                           328     406     +78
in_table                                              78       -     -78
static.combining                                     516     148    -368
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 1/1 up/down: 340/-446)         Total: -106 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agotestsuite-discovered fixes
Denys Vlasenko [Mon, 25 Jan 2010 01:00:16 +0000 (02:00 +0100)]
testsuite-discovered fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoscripts/randomtest: tweaks for non-eliminable warnings and broken static glibc
Denys Vlasenko [Sun, 24 Jan 2010 22:33:06 +0000 (23:33 +0100)]
scripts/randomtest: tweaks for non-eliminable warnings and broken static glibc

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agorandomconfig fixes
Denys Vlasenko [Sun, 24 Jan 2010 21:52:21 +0000 (22:52 +0100)]
randomconfig fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agolibbb: better unicode width support. Hopefully fixes bug 839.
Denys Vlasenko [Sun, 24 Jan 2010 06:44:03 +0000 (07:44 +0100)]
libbb: better unicode width support. Hopefully fixes bug 839.

Also opens up a possibility to make other unicode stuff smaller
and more correct later. but:

function                                             old     new   delta
static.combining                                       -     516    +516
bb_wcwidth                                             -     328    +328
unicode_cut_nchars                                     -     141    +141
mbstowc_internal                                       -      93     +93
in_table                                               -      78     +78
cal_main                                             899     961     +62
static.combining0x10000                                -      40     +40
unicode_strlen                                         -      31     +31
bb_mbstrlen                                           31       -     -31
bb_mbstowcs                                          173     102     -71
------------------------------------------------------------------------------
(add/remove: 7/1 grow/shrink: 1/1 up/down: 1289/-102)        Total: 1187 bytes

Uses code of Markus Kuhn, which is in public domain:
http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
"Permission to use, copy, modify, and distribute this software
 for any purpose and without fee is hereby granted. The author
 disclaims all warranties with regard to this software."

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agodate: introduce FEATURE_DATE_COMPAT; shrink
Denys Vlasenko [Sat, 23 Jan 2010 22:37:52 +0000 (23:37 +0100)]
date: introduce FEATURE_DATE_COMPAT; shrink

function                                             old     new   delta
date_main                                            889     862     -27

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 years agoping: use ICMP_MINLEN
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 11:52:40 +0000 (12:52 +0100)]
ping: use ICMP_MINLEN

no code changes

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>