Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/lib/libc/locale Pull up rev. 1.19 (approved by thorpej):
details: https://anonhg.NetBSD.org/src/rev/84c0c1c47cc9
branches: netbsd-1-5
changeset: 489027:84c0c1c47cc9
user: kleink <kleink%NetBSD.org@localhost>
date: Thu Aug 10 16:44:46 2000 +0000
description:
Pull up rev. 1.19 (approved by thorpej):
ISO/IEC 9899:1999: MB_CUR_MAX expands to a positive integer
expression with type size_t.
diffstat:
lib/libc/locale/setlocale.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 18f2d83cd502 -r 84c0c1c47cc9 lib/libc/locale/setlocale.c
--- a/lib/libc/locale/setlocale.c Thu Aug 10 16:44:02 2000 +0000
+++ b/lib/libc/locale/setlocale.c Thu Aug 10 16:44:46 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: setlocale.c,v 1.17.6.1 2000/08/09 17:42:24 tshiozak Exp $ */
+/* $NetBSD: setlocale.c,v 1.17.6.2 2000/08/10 16:44:46 kleink Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)setlocale.c 8.1 (Berkeley) 7/4/93";
#else
-__RCSID("$NetBSD: setlocale.c,v 1.17.6.1 2000/08/09 17:42:24 tshiozak Exp $");
+__RCSID("$NetBSD: setlocale.c,v 1.17.6.2 2000/08/10 16:44:46 kleink Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -84,7 +84,8 @@
"C",
"C"
};
-int __mb_cur_max = 1;
+
+size_t __mb_cur_max = 1;
/*
* The locales we are going to try and load
Home |
Main Index |
Thread Index |
Old Index