Module Name: src
Committed By: tnozaki
Date: Sat Jun 12 18:02:31 UTC 2010
Modified Files:
src/usr.sbin/chrtbl: ctypeio.c
Log Message:
s/_CTYPE_NUM_CHARS/_CTYPE_CACHE_SIZE/
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/chrtbl/ctypeio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/chrtbl/ctypeio.c
diff -u src/usr.sbin/chrtbl/ctypeio.c:1.3 src/usr.sbin/chrtbl/ctypeio.c:1.4
--- src/usr.sbin/chrtbl/ctypeio.c:1.3 Sat May 22 06:38:16 2010
+++ src/usr.sbin/chrtbl/ctypeio.c Sat Jun 12 18:02:31 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: ctypeio.c,v 1.3 2010/05/22 06:38:16 tnozaki Exp $ */
+/* $NetBSD: ctypeio.c,v 1.4 2010/06/12 18:02:31 tnozaki Exp $ */
/*
* Copyright (c) 1997 Christos Zoulas. All rights reserved.
@@ -26,7 +26,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: ctypeio.c,v 1.3 2010/05/22 06:38:16 tnozaki Exp $");
+__RCSID("$NetBSD: ctypeio.c,v 1.4 2010/06/12 18:02:31 tnozaki Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -46,7 +46,7 @@
short *new_toupper, short *new_tolower)
{
FILE *fp;
- uint32_t i, len = _CTYPE_NUM_CHARS;
+ uint32_t i, len = _CTYPE_CACHE_SIZE;
_DIAGASSERT(name != NULL);
_DIAGASSERT(new_ctype != NULL);