This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] s390: Fix build error with gcc6 in utf8_utf16-z9.c.


On Wed, Jul 22, 2015 at 01:58:54PM +0200, Stefan Liebler wrote:
> While including loop.c to construct the SINGLE(LOOPFCT) method for
> converting from UTF-16 to UTF-8, the bytebuf array with length
> MAX_NEEDED_INPUT is used as inptr. MAX_NEEDED_INPUT defaults to
> MIN_NEEDED_INPUT if not defined before including loop.c.
> Thus bytebuf has a length of 2.
> This patch defines MAX_NEEDED_INPUT to MAX_NEEDED_TO, which is 4.
> 
> Ok for 2.22 or later?

Looks good to me.  I reckong it should be good for 2.22 as well given
that it is a build failure, but Carlos has the last say on that as
release manager so you'll have to wait a few hours for him to take a
look at it.

Siddhesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]