Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/locale null terminate
details: https://anonhg.NetBSD.org/src/rev/19b24c116204
branches: trunk
changeset: 755769:19b24c116204
user: tnozaki <tnozaki%NetBSD.org@localhost>
date: Sat Jun 19 14:48:16 2010 +0000
description:
null terminate
diffstat:
lib/libc/locale/rune.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r c598b1601dd5 -r 19b24c116204 lib/libc/locale/rune.c
--- a/lib/libc/locale/rune.c Sat Jun 19 14:45:39 2010 +0000
+++ b/lib/libc/locale/rune.c Sat Jun 19 14:48:16 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rune.c,v 1.39 2010/06/19 13:26:52 tnozaki Exp $ */
+/* $NetBSD: rune.c,v 1.40 2010/06/19 14:48:16 tnozaki Exp $ */
/*-
* Copyright (c)2010 Citrus Project,
@@ -302,6 +302,7 @@
if (rlp == NULL)
return ENOMEM;
_rune_init_priv(rlp);
+ rlp->rlp_codeset[0] = '\0';
rl = &rlp->rl;
for (i = 0; i < _CTYPE_CACHE_SIZE; ++i) {
Home |
Main Index |
Thread Index |
Old Index