Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src s/_CTYPE_NUM_CHARS/_CTYPE_CACHE_SIZE/
details: https://anonhg.NetBSD.org/src/rev/ab3e3ae06b0a
branches: trunk
changeset: 755619:ab3e3ae06b0a
user: tnozaki <tnozaki%NetBSD.org@localhost>
date: Sat Jun 12 18:02:31 2010 +0000
description:
s/_CTYPE_NUM_CHARS/_CTYPE_CACHE_SIZE/
diffstat:
lib/libc/locale/bsdctype.h | 8 ++++----
usr.sbin/chrtbl/ctypeio.c | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (49 lines):
diff -r 107cfc318a42 -r ab3e3ae06b0a lib/libc/locale/bsdctype.h
--- a/lib/libc/locale/bsdctype.h Sat Jun 12 15:01:04 2010 +0000
+++ b/lib/libc/locale/bsdctype.h Sat Jun 12 18:02:31 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bsdctype.h,v 1.4 2010/06/01 18:00:28 tnozaki Exp $ */
+/* $NetBSD: bsdctype.h,v 1.5 2010/06/12 18:03:09 tnozaki Exp $ */
/*-
* Copyright (c)2008 Citrus Project,
@@ -35,9 +35,9 @@
char fbl_id[8];
uint32_t fbl_rev;
uint32_t fbl_num_chars;
- uint8_t fbl_ctype_tab [_CTYPE_NUM_CHARS];
- int16_t fbl_tolower_tab[_CTYPE_NUM_CHARS];
- int16_t fbl_toupper_tab[_CTYPE_NUM_CHARS];
+ uint8_t fbl_ctype_tab [_CTYPE_CACHE_SIZE];
+ int16_t fbl_tolower_tab[_CTYPE_CACHE_SIZE];
+ int16_t fbl_toupper_tab[_CTYPE_CACHE_SIZE];
} __packed _FileBSDCTypeLocale;
typedef struct {
diff -r 107cfc318a42 -r ab3e3ae06b0a usr.sbin/chrtbl/ctypeio.c
--- a/usr.sbin/chrtbl/ctypeio.c Sat Jun 12 15:01:04 2010 +0000
+++ b/usr.sbin/chrtbl/ctypeio.c Sat Jun 12 18:02:31 2010 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index