diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-26 14:06:56 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-26 14:06:56 +0100 |
commit | 19158a837df5093a2d655536424412bac2b07467 (patch) | |
tree | 3f3ce9c808e05dbf8dd38292f4c2db52cb73b429 /coreutils/expand.c | |
parent | aa167556cd2954bb9a9fb0a005178462087a4600 (diff) | |
download | busybox-w32-19158a837df5093a2d655536424412bac2b07467.tar.gz busybox-w32-19158a837df5093a2d655536424412bac2b07467.tar.bz2 busybox-w32-19158a837df5093a2d655536424412bac2b07467.zip |
unicode: s/FEATURE_ASSUME_UNICODE/UNICODE_SUPPORT, add UNICODE_USING_LOCALE
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/expand.c')
-rw-r--r-- | coreutils/expand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/expand.c b/coreutils/expand.c index cfb1e25d9..b874b6ad4 100644 --- a/coreutils/expand.c +++ b/coreutils/expand.c | |||
@@ -48,7 +48,7 @@ static void expand(FILE *file, unsigned tab_size, unsigned opt) | |||
48 | if (c == '\t') { | 48 | if (c == '\t') { |
49 | unsigned len; | 49 | unsigned len; |
50 | *ptr = '\0'; | 50 | *ptr = '\0'; |
51 | # if ENABLE_FEATURE_ASSUME_UNICODE | 51 | # if ENABLE_UNICODE_SUPPORT |
52 | { | 52 | { |
53 | uni_stat_t uni_stat; | 53 | uni_stat_t uni_stat; |
54 | printable_string(&uni_stat, ptr_strbeg); | 54 | printable_string(&uni_stat, ptr_strbeg); |
@@ -107,7 +107,7 @@ static void unexpand(FILE *file, unsigned tab_size, unsigned opt) | |||
107 | } | 107 | } |
108 | n = strcspn(ptr, "\t "); | 108 | n = strcspn(ptr, "\t "); |
109 | printf("%*s%.*s", len, "", n, ptr); | 109 | printf("%*s%.*s", len, "", n, ptr); |
110 | # if ENABLE_FEATURE_ASSUME_UNICODE | 110 | # if ENABLE_UNICODE_SUPPORT |
111 | { | 111 | { |
112 | char c; | 112 | char c; |
113 | uni_stat_t uni_stat; | 113 | uni_stat_t uni_stat; |