diff options
author | Mike Smith <msmith@FreeBSD.org> | 1998-11-04 07:04:00 +0000 |
---|---|---|
committer | Mike Smith <msmith@FreeBSD.org> | 1998-11-04 07:04:00 +0000 |
commit | 1add1a81da67a9d40e0b3e1f60189d030325ee7f (patch) | |
tree | 2cd8ca59a677d3fdb9e90063159b47f7373c1fb3 /lib/libstand | |
parent | 0640d357f29fb1c0daaaffadd0416c5981413afd (diff) | |
download | src-1add1a81da67a9d40e0b3e1f60189d030325ee7f.tar.gz src-1add1a81da67a9d40e0b3e1f60189d030325ee7f.zip |
Improve the quality of isspace() to match expectations. This should make
the Ficl interpreter read its softwords array OK.
Notes
Notes:
svn path=/head/; revision=40889
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/stand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h index 490c5a6afd68..24d6ab7d551b 100644 --- a/lib/libstand/stand.h +++ b/lib/libstand/stand.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: stand.h,v 1.9 1998/10/31 02:48:29 msmith Exp $ + * $Id: stand.h,v 1.10 1998/11/01 09:31:08 msmith Exp $ * From $NetBSD: stand.h,v 1.22 1997/06/26 19:17:40 drochner Exp $ */ @@ -162,7 +162,7 @@ extern struct open_file files[]; #define isupper(c) ((c) >= 'A' && (c) <= 'Z') #define islower(c) ((c) >= 'a' && (c) <= 'z') -#define isspace(c) ((c) == ' ' || (c) == '\t') +#define isspace(c) ((c) == ' ' || ((c) >= 0x9 && (c) <= 0xd)) #define isdigit(c) ((c) >= '0' && (c) <= '9') #define isxdigit(c) (isdigit(c) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F')) #define isascii(c) ((c) >= 0 || (c <= 0x7f)) |