diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-08-01 22:20:16 +0000 | 
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-08-01 22:20:16 +0000 | 
| commit | 765d5b0d6f16f92d2c1cf15fa7dc6899323817e8 (patch) | |
| tree | 51a727b62035258310d99a2d140e29ac1b2720e8 | |
| parent | e7241b8ffe2856c43aa6f2a539534aa99a43e194 (diff) | |
Notes
| -rw-r--r-- | lib/libc/stdlib/strtod.c | 10 | 
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c index cd82c73a8f6e..0ccd6fd3419b 100644 --- a/lib/libc/stdlib/strtod.c +++ b/lib/libc/stdlib/strtod.c @@ -146,6 +146,7 @@ static char sccsid[] = "@(#)strtod.c	8.1 (Berkeley) 6/4/93";  #endif  #include "errno.h" +#include <ctype.h>  #ifdef Bad_float_h  #undef __STDC__  #ifdef IEEE_MC68k @@ -1212,14 +1213,9 @@ strtod  		case 0:  			s = s00;  			goto ret; -		case '\t': -		case '\n': -		case '\v': -		case '\f': -		case '\r': -		case ' ': -			continue;  		default: +			if (isspace((unsigned char)*s)) +				continue;  			goto break2;  	}   break2:  | 
