busybox/networking
Denys Vlasenko 9f93d62192 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>
2010-01-24 07:44:03 +01:00
..
libiproute *: fix places where we were still using malloc/realloc 2010-01-08 09:07:50 +01:00
udhcp libbb: better unicode width support. Hopefully fixes bug 839. 2010-01-24 07:44:03 +01:00
arp.c
arping.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
brctl.c
Config.in ftpd: conditional support for broken clients 2010-01-18 02:08:30 +01:00
dnsd.c
ether-wake.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
ftpd.c ftpd: conditional support for broken clients 2010-01-18 02:08:30 +01:00
ftpgetput.c wget: check for close success; fix chunked; do not bother to send QUIT to ftp 2009-12-11 12:36:10 +01:00
hostname.c remove trailing whitespace 2009-07-15 20:02:19 +02:00
httpd_indexcgi.c *: make it easier to distinquish "struct tm", pointer to one, etc 2010-01-09 19:10:49 +01:00
httpd_post_upload.txt httpd_post_upload.txt example: handle binary files too 2009-11-13 09:37:50 +01:00
httpd_ssi.c httpd_ssi.c: make it a bit less broken 2009-09-13 17:38:15 +02:00
httpd.c *: add/remove safe_, it seems we had a few incorrect uses 2010-01-12 12:29:55 +01:00
ifconfig.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
ifenslave.c ifenslave: fix for 2.4 kernels compile 2009-09-23 23:47:52 +02:00
ifplugd.c ifplugd: restore auto-ifup unless -a; make iff method less iffy :D 2010-01-08 12:28:47 +01:00
ifupdown.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
inetd.c libbb: robustify isXXXX(). +39 bytes 2009-11-18 11:34:43 +01:00
interface.c small optimizations of toupper/tolower 2009-10-23 13:03:59 +02:00
ip.c
ipcalc.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
isrv_identd.c
isrv.c
isrv.h
Kbuild ntpd: new applet by Adam Tkac. +5k. 2009-11-22 03:43:55 +01:00
nameif.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
nc_bloaty.c nc: fix "nc -nl -p LPORT RHOST" case (was expecting remote port 0). closes bug 837 2010-01-08 16:09:45 +01:00
nc.c nc: fix nc -ll; report vfork errors; make select loop faster 2009-08-03 02:59:22 +02:00
netstat.c
nslookup.c
ntpd_simple.c ntpd: ntpd.c -> ntpd_simple.c 2010-01-01 16:45:43 +01:00
ntpd.c ntpd: remove some code which is at best unneeded and at worst wrong 2010-01-17 03:01:15 +01:00
ping.c ping: use ICMP_MINLEN 2010-01-23 12:53:40 +01:00
pscan.c
route.c *: a few more NOINLINEs 2009-10-08 14:35:37 +02:00
slattach.c
tc.c hwclock: fix sizeof bug (used it on pointer, not array); make --systohc exact 2010-01-06 18:16:39 +01:00
tcpudp_perhost.c
tcpudp_perhost.h
tcpudp.c ntpd: and real handling for -N, show usage w/o options; trim text 2009-11-25 14:52:47 +01:00
telnet.c *: add/remove safe_, it seems we had a few incorrect uses 2010-01-12 12:29:55 +01:00
telnetd.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
telnetd.ctrlSQ.patch
tftp.c randomconfig fixes 2009-12-12 02:42:35 +01:00
traceroute.c randomconfig fixes 2009-12-12 02:42:35 +01:00
tunctl.c
vconfig.c
wget.c wget: fix signedness in the compare (paranoia only, G.content_len is never < 0) 2009-12-11 14:12:28 +01:00
zcip.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00