s/_CTYPE_NUM_CHARS/_CTYPE_CACHE_SIZE/
This commit is contained in:
parent
8506af6473
commit
4935b908f2
@ -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 @@ typedef struct {
|
||||
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 {
|
||||
|
@ -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 @@ __savectype(const char *name, unsigned char *new_ctype,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user