diff options
author | msmith <msmith@FreeBSD.org> | 1998-11-04 07:04:00 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1998-11-04 07:04:00 +0000 |
commit | dc1da60388c06770bd0d32f600be8e1999065114 (patch) | |
tree | f20a4f8da108cf628c14e7774bbce416ceac8415 /lib | |
parent | 51a1d0307e752ea1ed3a8ab81afab8199c0de4b7 (diff) | |
download | FreeBSD-src-dc1da60388c06770bd0d32f600be8e1999065114.zip FreeBSD-src-dc1da60388c06770bd0d32f600be8e1999065114.tar.gz |
Improve the quality of isspace() to match expectations. This should make
the Ficl interpreter read its softwords array OK.
Diffstat (limited to 'lib')
-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 490c5a6..24d6ab7 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)) |