diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-12 02:42:35 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-12 02:42:35 +0100 |
| commit | 31e2e7b86388e4ece09f37866bd1411f357cafbd (patch) | |
| tree | d87ab658d71ea54decdf6f6c94a0de1133124ea1 /libbb | |
| parent | 1315c30fefe6e64cd2cbc95fe484b02ce70afec1 (diff) | |
| download | busybox-w32-31e2e7b86388e4ece09f37866bd1411f357cafbd.tar.gz busybox-w32-31e2e7b86388e4ece09f37866bd1411f357cafbd.tar.bz2 busybox-w32-31e2e7b86388e4ece09f37866bd1411f357cafbd.zip | |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
| -rw-r--r-- | libbb/Kbuild | 2 | ||||
| -rw-r--r-- | libbb/lineedit.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libbb/Kbuild b/libbb/Kbuild index c0995708a..243626d67 100644 --- a/libbb/Kbuild +++ b/libbb/Kbuild | |||
| @@ -145,6 +145,8 @@ lib-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) += pw_encrypt.o | |||
| 145 | 145 | ||
| 146 | lib-$(CONFIG_DF) += find_mount_point.o | 146 | lib-$(CONFIG_DF) += find_mount_point.o |
| 147 | lib-$(CONFIG_MKFS_MINIX) += find_mount_point.o | 147 | lib-$(CONFIG_MKFS_MINIX) += find_mount_point.o |
| 148 | lib-$(CONFIG_MKFS_EXT2) += find_mount_point.o | ||
| 149 | lib-$(CONFIG_MKFS_REISER) += find_mount_point.o | ||
| 148 | lib-$(CONFIG_FSCK_MINIX) += find_mount_point.o | 150 | lib-$(CONFIG_FSCK_MINIX) += find_mount_point.o |
| 149 | lib-$(CONFIG_MOUNT) += find_mount_point.o | 151 | lib-$(CONFIG_MOUNT) += find_mount_point.o |
| 150 | 152 | ||
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 7bb3f2e35..c73e6b712 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
| @@ -71,7 +71,9 @@ | |||
| 71 | # define BB_NUL L'\0' | 71 | # define BB_NUL L'\0' |
| 72 | # define CHAR_T wchar_t | 72 | # define CHAR_T wchar_t |
| 73 | static bool BB_isspace(CHAR_T c) { return ((unsigned)c < 256 && isspace(c)); } | 73 | static bool BB_isspace(CHAR_T c) { return ((unsigned)c < 256 && isspace(c)); } |
| 74 | # if ENABLE_FEATURE_EDITING_VI | ||
| 74 | static bool BB_isalnum(CHAR_T c) { return ((unsigned)c < 256 && isalnum(c)); } | 75 | static bool BB_isalnum(CHAR_T c) { return ((unsigned)c < 256 && isalnum(c)); } |
| 76 | # endif | ||
| 75 | static bool BB_ispunct(CHAR_T c) { return ((unsigned)c < 256 && ispunct(c)); } | 77 | static bool BB_ispunct(CHAR_T c) { return ((unsigned)c < 256 && ispunct(c)); } |
| 76 | # undef isspace | 78 | # undef isspace |
| 77 | # undef isalnum | 79 | # undef isalnum |
