Correct the ctype function used for [:print:] character class; from Soren S.

Jorvang in PR bin/7167.
This commit is contained in:
kleink 1999-03-16 14:57:48 +00:00
parent 84f100d175
commit a7a759c81e
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: str.c,v 1.8 1997/10/20 00:56:05 lukem Exp $ */ /* $NetBSD: str.c,v 1.9 1999/03/16 14:57:48 kleink Exp $ */
/*- /*-
* Copyright (c) 1991, 1993 * Copyright (c) 1991, 1993
@ -38,7 +38,7 @@
#if 0 #if 0
static char sccsid[] = "@(#)str.c 8.2 (Berkeley) 4/28/95"; static char sccsid[] = "@(#)str.c 8.2 (Berkeley) 4/28/95";
#endif #endif
__RCSID("$NetBSD: str.c,v 1.8 1997/10/20 00:56:05 lukem Exp $"); __RCSID("$NetBSD: str.c,v 1.9 1999/03/16 14:57:48 kleink Exp $");
#endif /* not lint */ #endif /* not lint */
#include <sys/cdefs.h> #include <sys/cdefs.h>
@ -166,7 +166,7 @@ static CLASS classes[] = {
{ "digit", isdigit, }, { "digit", isdigit, },
{ "graph", isgraph, }, { "graph", isgraph, },
{ "lower", islower, }, { "lower", islower, },
{ "print", isupper, }, { "print", isprint, },
{ "punct", ispunct, }, { "punct", ispunct, },
{ "space", isspace, }, { "space", isspace, },
{ "upper", isupper, }, { "upper", isupper, },