hush/networking/udhcp
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
..
arpping.c libbb: introduce and use monotonic_ms 2010-01-12 12:52:30 +01:00
clientpacket.c fix fallout from BSD patches 2009-07-10 18:37:06 +02:00
clientsocket.c fix fallout from BSD patches 2009-07-10 18:37:06 +02:00
common.c udhcp: logging improvements, field and variable renames 2009-06-17 13:24:03 +02:00
common.h udhcp: logging improvements, field and variable renames 2009-06-17 13:24:03 +02:00
Config.in replace APP_xxDHCPxx with xxDHCPxx, it's more consistent with the rest 2009-12-11 02:21:10 +01:00
dhcpc.c udhcpc: fix bug 629: use bcast receive when we perform rebinding 2009-10-08 23:05:46 +02:00
dhcpc.h udhcp: shorten mac len from 16 to 6 in lease file 2009-06-17 11:57:09 +02:00
dhcpd.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
dhcpd.h udhcpd: fix a bug in add_lease where it was reading at [-1] 2009-07-07 14:59:30 +02:00
dhcprelay.c udhcp: shorten mac len from 16 to 6 in lease file 2009-06-17 11:57:09 +02:00
domain_codec.c udhcp: dname_dec may return NULL, account for that case 2009-07-03 16:59:59 +02:00
dumpleases.c libbb: better unicode width support. Hopefully fixes bug 839. 2010-01-24 07:44:03 +01:00
files.c udhcpd: fix a bug in add_lease where it was reading at [-1] 2009-07-07 14:59:30 +02:00
Kbuild replace APP_xxDHCPxx with xxDHCPxx, it's more consistent with the rest 2009-12-11 02:21:10 +01:00
leases.c udhcpd: fix a bug in add_lease where it was reading at [-1] 2009-07-07 14:59:30 +02:00
options.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
options.h udhcpc: support option 0x79 (static routes) (part of bug 341) 2009-07-03 18:14:03 +02:00
packet.c remove trailing whitespace 2009-07-15 20:02:19 +02:00
script.c udhcpc: log script parameter too 2009-11-02 18:53:57 +01:00
serverpacket.c udhcpd: fix a bug in add_lease where it was reading at [-1] 2009-07-07 14:59:30 +02:00
signalpipe.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
socket.c Patches to enable FreeBSD build 2009-07-05 03:34:12 +02:00
static_leases.c udhcp: convert old-style logging in print_static_leases 2009-06-17 13:44:04 +02:00