aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-26 14:06:56 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-26 14:06:56 +0100
commit19158a837df5093a2d655536424412bac2b07467 (patch)
tree3f3ce9c808e05dbf8dd38292f4c2db52cb73b429 /modutils
parentaa167556cd2954bb9a9fb0a005178462087a4600 (diff)
downloadbusybox-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 'modutils')
-rw-r--r--modutils/lsmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index 50621c245..97954c71f 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -60,7 +60,7 @@ int lsmod_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
60 token[3][strlen(token[3])-1] = '\0'; 60 token[3][strlen(token[3])-1] = '\0';
61 } else 61 } else
62 token[3] = (char *) ""; 62 token[3] = (char *) "";
63# if ENABLE_FEATURE_ASSUME_UNICODE 63# if ENABLE_UNICODE_SUPPORT
64 { 64 {
65 uni_stat_t uni_stat; 65 uni_stat_t uni_stat;
66 char *uni_name = unicode_conv_to_printable(&uni_stat, token[0]); 66 char *uni_name = unicode_conv_to_printable(&uni_stat, token[0]);
@@ -78,7 +78,7 @@ int lsmod_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
78 // or comma-separated list ended by comma 78 // or comma-separated list ended by comma
79 // so trimming the trailing char is just what we need! 79 // so trimming the trailing char is just what we need!
80 token[3][strlen(token[3])-1] = '\0'; 80 token[3][strlen(token[3])-1] = '\0';
81# if ENABLE_FEATURE_ASSUME_UNICODE 81# if ENABLE_UNICODE_SUPPORT
82 { 82 {
83 uni_stat_t uni_stat; 83 uni_stat_t uni_stat;
84 char *uni_name = unicode_conv_to_printable(&uni_stat, token[0]); 84 char *uni_name = unicode_conv_to_printable(&uni_stat, token[0]);