eat the sign, pointed out by uwe@
This commit is contained in:
parent
d21092d46f
commit
85da8872cb
2
external/historical/nawk/dist/tran.c
vendored
2
external/historical/nawk/dist/tran.c
vendored
@ -404,6 +404,8 @@ static int checkstr(const char *s, const char *v)
|
||||
|
||||
static int checkinfnan(const char *s)
|
||||
{
|
||||
if (*s == '+' || *s == '-')
|
||||
s++;
|
||||
switch (tolower((unsigned char)*s)) {
|
||||
case 'i':
|
||||
return checkstr(s, "inf") || checkstr(s, "infinity");
|
||||
|
Loading…
Reference in New Issue
Block a user