diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-04 22:49:58 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-04 22:49:58 +0300 |
commit | 28055028a709020ba7eb44f9e5037d0a952b51d6 (patch) | |
tree | bb5dc7052f04e66ad74bbbcc9917d638cd603b24 /networking | |
parent | d2b1ba6fdee59645763e915ade3ec55e67d5839a (diff) |
fold: unicode support. Based on a patch by Tomas Heinrich <heinrich.tomas@gmail.com>
General Unicode support is tweaked to expose unicode_status.
function old new delta
init_unicode - 77 +77
write2stdout - 19 +19
adjust_column 68 71 +3
unicode_status - 1 +1
unicode_is_enabled 1 - -1
grep_main 780 773 -7
fold_main 619 552 -67
check_unicode_in_env 77 - -77
------------------------------------------------------------------------------
(add/remove: 3/2 grow/shrink: 1/2 up/down: 100/-152) Total: -52 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/udhcp/dumpleases.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dumpleases.c b/networking/udhcp/dumpleases.c index 017c801e6..97605f089 100644 --- a/networking/udhcp/dumpleases.c +++ b/networking/udhcp/dumpleases.c @@ -43,7 +43,7 @@ int dumpleases_main(int argc UNUSED_PARAM, char **argv) applet_long_options = dumpleases_longopts; #endif - check_unicode_in_env(); + init_unicode(); opt_complementary = "=0:a--r:r--a"; opt = getopt32(argv, "arf:", &file); |