Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
# if ENABLE_FEATURE_EDITING_VI
static bool BB_isalnum_or_underscore(CHAR_T c)
{
- return ((unsigned)c < 256 && isalnum(c)) || c == '_';
+ return isalnum(c) || c == '_';
}
# endif
# define BB_ispunct(c) ispunct(c)
return find_builtin_helper(name, bltins2, &bltins2[ARRAY_SIZE(bltins2)]);
}
-#if EDITING_HAS_get_exe_name
+#if ENABLE_HUSH_JOB && EDITING_HAS_get_exe_name
static const char * FAST_FUNC get_builtin_name(int i)
{
if (/*i >= 0 && */ i < ARRAY_SIZE(bltins1)) {