This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.15-539-g39c59c3
- From: davem at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 3 Apr 2012 00:14:52 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-539-g39c59c3
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 39c59c35723120c32dc42dde4115bba92305179f (commit)
from 135ffda8b84226a91c6062db69a61975b2f11cb6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=39c59c35723120c32dc42dde4115bba92305179f
commit 39c59c35723120c32dc42dde4115bba92305179f
Author: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Date: Mon Apr 2 15:24:03 2012 -0700
Fix bug in previous tcvn5712 commit e64d2de52.
[BZ #13691]
* iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
inptr and inend, rather than using last_ch.
diff --git a/ChangeLog b/ChangeLog
index 8705429..09f040e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
+
+ [BZ #13691]
+ * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
+ inptr and inend, rather than using last_ch.
+
2012-04-02 David S. Miller <davem@davemloft.net>
With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
diff --git a/iconvdata/tcvn5712-1.c b/iconvdata/tcvn5712-1.c
index 09dcbbf..90c8610 100644
--- a/iconvdata/tcvn5712-1.c
+++ b/iconvdata/tcvn5712-1.c
@@ -378,8 +378,9 @@ static const struct
/* Determine whether there is a buffered character pending. */ \
last_ch = *statep >> 3; \
\
- /* We have to buffer ch if it is a possible match in comp_table_data. */ \
- must_buffer_ch = last_ch && (ch >= 0x0041 && ch <= 0x01b0); \
+ /* We have to buffer ch if it is a possible match in comp_table_data \
+ and if it isn't the last char of the string. */ \
+ must_buffer_ch = (ch >= 0x0041 && ch <= 0x01b0) && (inptr + 1 != inend); \
\
if (last_ch) \
{ \
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
iconvdata/tcvn5712-1.c | 5 +++--
2 files changed, 9 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources