[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r2165 - in /fsf/trunk/libc: ./ locale/programs/ localedata/ localedata/locales/ stdio-common/
- To: commits@xxxxxxxxxx
- Subject: [commits] r2165 - in /fsf/trunk/libc: ./ locale/programs/ localedata/ localedata/locales/ stdio-common/
- From: eglibc@xxxxxxxxxx
- Date: Sat, 05 May 2007 07:01:30 -0000
Author: eglibc
Date: Sat May 5 00:01:30 2007
New Revision: 2165
Log:
Import glibc-mainline for 2007-05-05
Added:
fsf/trunk/libc/localedata/locales/ast_ES
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/locale/programs/linereader.c
fsf/trunk/libc/localedata/ChangeLog
fsf/trunk/libc/localedata/SUPPORTED
fsf/trunk/libc/stdio-common/vfprintf.c
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Sat May 5 00:01:30 2007
@@ -1,3 +1,11 @@
+2007-05-04 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * stdio-common/vfprintf.c (process_string_arg): Adjust call to
+ __mbsnrtowcs after last change.
+
+ * locale/programs/linereader.c (get_symname): Fix adding final NUL.
+ (get_ident): Likewise.
+
2007-05-03 Jakub Jelinek <jakub@xxxxxxxxxx>
* soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT
@@ -27,8 +35,10 @@
(FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of
undefined _FP_PACK_RAW_EP.
- * op-2.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_2.
- * op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4.
+ * soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias to
+ _FP_FRAC_COPY_2.
+ * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to
+ _FP_FRAC_COPY_4.
2007-04-16 Uros Bizjak <ubizjak@xxxxxxxxx>
Jakub Jelinek <jakub@xxxxxxxxxx>
Modified: fsf/trunk/libc/locale/programs/linereader.c
==============================================================================
--- fsf/trunk/libc/locale/programs/linereader.c (original)
+++ fsf/trunk/libc/locale/programs/linereader.c Sat May 5 00:01:30 2007
@@ -523,8 +523,8 @@
{
lr->token.tok = tok_bsymbol;
+ buf = xrealloc (buf, bufact + 1);
buf[bufact] = '\0';
- buf = xrealloc (buf, bufact + 1);
lr->token.val.str.startmb = buf;
lr->token.val.str.lenmb = bufact - 1;
@@ -576,8 +576,8 @@
{
lr->token.tok = tok_ident;
+ buf = xrealloc (buf, bufact + 1);
buf[bufact] = '\0';
- buf = xrealloc (buf, bufact + 1);
lr->token.val.str.startmb = buf;
lr->token.val.str.lenmb = bufact;
Modified: fsf/trunk/libc/localedata/ChangeLog
==============================================================================
--- fsf/trunk/libc/localedata/ChangeLog (original)
+++ fsf/trunk/libc/localedata/ChangeLog Sat May 5 00:01:30 2007
@@ -1,3 +1,9 @@
+2007-05-04 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ [BZ #4114]
+ * locales/ast_ES: New file.
+ * SUPPORTED (SUPPORTED-LOCALES): Add ast_ES.UTF-8 and ast_ES.
+
2007-04-27 Ulrich Drepper <drepper@xxxxxxxxxx>
[BZ #4024]
Modified: fsf/trunk/libc/localedata/SUPPORTED
==============================================================================
--- fsf/trunk/libc/localedata/SUPPORTED (original)
+++ fsf/trunk/libc/localedata/SUPPORTED Sat May 5 00:01:30 2007
@@ -48,6 +48,8 @@
ar_YE/ISO-8859-6 \
az_AZ.UTF-8/UTF-8 \
as_IN.UTF-8/UTF-8 \
+ast_ES.UTF-8/UTF-8 \
+ast_ES/ISO-8859-15 \
be_BY.UTF-8/UTF-8 \
be_BY/CP1251 \
be_BY@latin/UTF-8 \
Added: fsf/trunk/libc/localedata/locales/ast_ES
==============================================================================
--- fsf/trunk/libc/localedata/locales/ast_ES (added)
+++ fsf/trunk/libc/localedata/locales/ast_ES Sat May 5 00:01:30 2007
@@ -1,0 +1,132 @@
+comment_char %
+escape_char /
+%
+% Asturian Language Locale for Spain
+% Source:
+% Address:
+% Contact: Jordi Mallach
+% Email: jordi@xxxxxxx
+% Language: ast
+% Territory: ES
+% Revision: 1.0
+% Date: 2005-08-26
+% Application: general
+% Users: general
+%
+% This file is under the
+% GNU General Public License.
+% Based in the an_ES Locale
+
+LC_IDENTIFICATION
+title "Asturian locale for Spain"
+source ""
+address ""
+contact "Jordi Mallach"
+email "jordi@xxxxxxx"
+tel ""
+fax ""
+language "Asturian"
+territory "Spain"
+revision "1.0"
+date "2005-08-26"
+%
+category "ast_ES:2000";LC_IDENTIFICATION
+category "ast_ES:2000";LC_CTYPE
+category "ast_ES:2000";LC_COLLATE
+category "ast_ES:2000";LC_TIME
+category "ast_ES:2000";LC_NUMERIC
+category "ast_ES:2000";LC_MONETARY
+category "ast_ES:2000";LC_MESSAGES
+category "ast_ES:2000";LC_PAPER
+category "ast_ES:2000";LC_NAME
+category "ast_ES:2000";LC_ADDRESS
+category "ast_ES:2000";LC_TELEPHONE
+END LC_IDENTIFICATION
+
+LC_COLLATE
+copy "es_ES"
+END LC_COLLATE
+
+LC_CTYPE
+copy "es_ES"
+END LC_CTYPE
+
+LC_MESSAGES
+yesexpr "<U005E><U005B><U0073><U0053><U0079><U0059><U005D><U002E><U002A>"
+noexpr "<U005E><U005B><U006E><U004E><U005D><U002E><U002A>"
+END LC_MESSAGES
+
+LC_MONETARY
+copy "es_ES"
+END LC_MONETARY
+
+LC_NUMERIC
+copy "es_ES"
+END LC_NUMERIC
+
+LC_TIME
+% Days of week in Asturian
+% llunes, martes, miércoles, xueves, vienres, sábadu, domingu
+% llu, mar, mié, xue, vie, sáb, dom
+abday "<U0064><U006F><U006D>";"<U006C><U006C><U0075>";/
+ "<U006D><U0061><U0072>";"<U006D><U0069><U00E9>";/
+ "<U0078><U0075><U0065>";"<U0076><U0069><U0065>";/
+ "<U0073><U00E1><U0062>"
+day "<U0064><U006F><U006D><U0069><U006E><U0067><U0075>";/
+ "<U006C><U006C><U0075><U006E><U0065><U0073>";/
+ "<U006D><U0061><U0072><U0074><U0065><U0073>";/
+ "<U006D><U0069><U00E9><U0072><U0063><U006F><U006C><U0065><U0073>";/
+ "<U0078><U0075><U0065><U0076><U0065><U0073>";/
+ "<U0076><U0069><U0065><U006E><U0072><U0065><U0073>";/
+ "<U0073><U00E1><U0062><U0061><U0064><U0075>"
+% Month names in Asturian
+% xineru, febreru, marzu, abril, mayu, xunu, xunetu, agostu, setiembre,
+% ochobre, payares, avientu
+% Abbreviated form of xunetu is "xnt"
+abmon "<U0078><U0069><U006E>";"<U0066><U0065><U0062>";/
+ "<U006D><U0061><U0072>";"<U0061><U0062><U0072>";/
+ "<U006D><U0061><U0079>";"<U0078><U0075><U006E>";/
+ "<U0078><U006E><U0074>";"<U0061><U0067><U006F>";/
+ "<U0073><U0065><U0074>";"<U006F><U0063><U0068>";/
+ "<U0070><U0061><U0079>";"<U0061><U0076><U0069>"
+mon "<U0078><U0069><U006E><U0065><U0072><U0075>";/
+ "<U0066><U0065><U0062><U0072><U0065><U0072><U0075>";/
+ "<U006D><U0061><U0072><U007A><U0075>";/
+ "<U0061><U0062><U0072><U0069><U006C>";/
+ "<U006D><U0061><U0079><U0075>";/
+ "<U0078><U0075><U006E><U0075>";/
+ "<U0078><U0075><U006E><U0065><U0074><U0075>";/
+ "<U0061><U0067><U006F><U0073><U0074><U0075>";/
+ "<U0073><U0065><U0074><U0069><U0065><U006D><U0062><U0072><U0065>";/
+ "<U006F><U0063><U0068><U006F><U0062><U0072><U0065>";/
+ "<U0070><U0061><U0079><U0061><U0072><U0065><U0073>";/
+ "<U0061><U0076><U0069><U0065><U006E><U0074><U0075>"
+d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
+d_fmt "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0079>"
+t_fmt "<U0025><U0054>"
+am_pm "";""
+t_fmt_ampm ""
+date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
+<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
+<U0025><U005A><U0020><U0025><U0059>"
+END LC_TIME
+
+LC_PAPER
+copy "es_ES"
+END LC_PAPER
+
+LC_TELEPHONE
+copy "es_ES"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "es_ES"
+END LC_MEASUREMENT
+
+LC_NAME
+copy "es_ES"
+END LC_NAME
+
+LC_ADDRESS
+copy "es_ES"
+END LC_ADDRESS
Modified: fsf/trunk/libc/stdio-common/vfprintf.c
==============================================================================
--- fsf/trunk/libc/stdio-common/vfprintf.c (original)
+++ fsf/trunk/libc/stdio-common/vfprintf.c Sat May 5 00:01:30 2007
@@ -1173,8 +1173,8 @@
memset (&ps, '\0', sizeof (ps)); \
\
while (str2 != NULL && str2 < strend) \
- if (__mbsnrtowcs (ignore, &str2, strend - str2, 1024, \
- &ps) == (size_t) -1) \
+ if (__mbsnrtowcs (ignore, &str2, strend - str2, \
+ ignore_size, &ps) == (size_t) -1) \
{ \
done = -1; \
goto all_done; \