diff options
author | Ron Yorston <rmy@pobox.com> | 2018-02-13 09:44:44 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-02-13 09:44:44 +0000 |
commit | dc19a361bd6c6df30338371532691bbc7f7126bb (patch) | |
tree | 1fb2cd646d54b5f8e425c4f11f3e09fc21d1966b /libbb/lineedit.c | |
parent | 096aee2bb468d1ab044de36e176ed1f6c7e3674d (diff) | |
parent | 3459024bf404af814cacfe90a0deb719e282ae62 (diff) | |
download | busybox-w32-dc19a361bd6c6df30338371532691bbc7f7126bb.tar.gz busybox-w32-dc19a361bd6c6df30338371532691bbc7f7126bb.tar.bz2 busybox-w32-dc19a361bd6c6df30338371532691bbc7f7126bb.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 3df67abb1..f22f5768f 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -90,7 +90,8 @@ static bool BB_ispunct(CHAR_T c) { return ((unsigned)c < 256 && ispunct(c)); } | |||
90 | # define CHAR_T char | 90 | # define CHAR_T char |
91 | # define BB_isspace(c) isspace(c) | 91 | # define BB_isspace(c) isspace(c) |
92 | # if ENABLE_FEATURE_EDITING_VI | 92 | # if ENABLE_FEATURE_EDITING_VI |
93 | static bool BB_isalnum_or_underscore(CHAR_T c) { | 93 | static bool BB_isalnum_or_underscore(CHAR_T c) |
94 | { | ||
94 | return ((unsigned)c < 256 && isalnum(c)) || c == '_'; | 95 | return ((unsigned)c < 256 && isalnum(c)) || c == '_'; |
95 | } | 96 | } |
96 | # endif | 97 | # endif |