Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/locale remove _StreamStateTable.
details: https://anonhg.NetBSD.org/src/rev/69e869d7d9af
branches: trunk
changeset: 534799:69e869d7d9af
user: yamt <yamt%NetBSD.org@localhost>
date: Sat Aug 03 11:10:51 2002 +0000
description:
remove _StreamStateTable.
diffstat:
lib/libc/locale/runetable.c | 6 ++----
lib/libc/locale/runetype.h | 3 +--
lib/libc/locale/setrunelocale.c | 8 ++------
3 files changed, 5 insertions(+), 12 deletions(-)
diffs (71 lines):
diff -r 98b309ee249e -r 69e869d7d9af lib/libc/locale/runetable.c
--- a/lib/libc/locale/runetable.c Sat Aug 03 06:38:41 2002 +0000
+++ b/lib/libc/locale/runetable.c Sat Aug 03 11:10:51 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: runetable.c,v 1.8 2002/03/17 22:14:31 tshiozak Exp $ */
+/* $NetBSD: runetable.c,v 1.9 2002/08/03 11:10:51 yamt Exp $ */
/*-
* Copyright (c) 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)table.c 8.1 (Berkeley) 6/27/93";
#else
-__RCSID("$NetBSD: runetable.c,v 1.8 2002/03/17 22:14:31 tshiozak Exp $");
+__RCSID("$NetBSD: runetable.c,v 1.9 2002/08/03 11:10:51 yamt Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -267,6 +267,4 @@
_RuneLocale *_CurrentRuneLocale = &_DefaultRuneLocale;
-void **_StreamStateTable = NULL;
-
char *_PathLocale;
diff -r 98b309ee249e -r 69e869d7d9af lib/libc/locale/runetype.h
--- a/lib/libc/locale/runetype.h Sat Aug 03 06:38:41 2002 +0000
+++ b/lib/libc/locale/runetype.h Sat Aug 03 11:10:51 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: runetype.h,v 1.9 2002/03/18 22:58:44 tshiozak Exp $ */
+/* $NetBSD: runetype.h,v 1.10 2002/08/03 11:10:51 yamt Exp $ */
/*-
* Copyright (c) 1993
@@ -190,7 +190,6 @@
extern _RuneLocale _DefaultRuneLocale;
extern _RuneLocale *_CurrentRuneLocale;
-extern void **_StreamStateTable;
extern char *_PathLocale;
#endif /* !_RUNETYPE_H_ */
diff -r 98b309ee249e -r 69e869d7d9af lib/libc/locale/setrunelocale.c
--- a/lib/libc/locale/setrunelocale.c Sat Aug 03 06:38:41 2002 +0000
+++ b/lib/libc/locale/setrunelocale.c Sat Aug 03 11:10:51 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: setrunelocale.c,v 1.12 2002/04/17 13:40:35 kleink Exp $ */
+/* $NetBSD: setrunelocale.c,v 1.13 2002/08/03 11:10:51 yamt Exp $ */
/*-
* Copyright (c)1999 Citrus Project,
@@ -100,7 +100,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: setrunelocale.c,v 1.12 2002/04/17 13:40:35 kleink Exp $");
+__RCSID("$NetBSD: setrunelocale.c,v 1.13 2002/08/03 11:10:51 yamt Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -175,10 +175,6 @@
found:
fclose(fp);
- if (_StreamStateTable) {
- free(_StreamStateTable);
- _StreamStateTable = NULL;
- }
rl->rl_citrus_ctype = NULL;
ret = _citrus_ctype_open(&rl->rl_citrus_ctype, rl->rl_encoding,
Home |
Main Index |
Thread Index |
Old Index