skill: use rpmatch() to yes/no question
The patch also removes fixed size of input, which can be problematic. I do not know how long the string `yes' might be in all of the worlds languages. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
@@ -73,6 +73,7 @@ AC_FUNC_REALLOC
|
||||
AC_FUNC_STRTOD
|
||||
AC_CHECK_FUNCS([\
|
||||
alarm \
|
||||
getline \
|
||||
getpagesize \
|
||||
gettimeofday \
|
||||
iswprint \
|
||||
@@ -83,6 +84,7 @@ AC_CHECK_FUNCS([\
|
||||
nl_langinfo \
|
||||
putenv \
|
||||
regcomp \
|
||||
rpmatch \
|
||||
select \
|
||||
setlocale \
|
||||
strcasecmp \
|
||||
|
Reference in New Issue
Block a user