From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63433 invoked by alias); 31 Mar 2016 09:18:42 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 63417 invoked by uid 89); 31 Mar 2016 09:18:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=stefan, Stefan, BODY X-HELO: plane.gmane.org To: libc-alpha@sourceware.org From: Stefan Liebler Subject: Re: [PATCH 14/14] Fix UTF-16 surrogate handling. Date: Thu, 31 Mar 2016 09:18:00 -0000 Message-ID: References: <1456219278-5258-1-git-send-email-stli@linux.vnet.ibm.com> <1456219278-5258-15-git-send-email-stli@linux.vnet.ibm.com> <56EBFCED.3070003@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 In-Reply-To: X-SW-Source: 2016-03/txt/msg00759.txt.bz2 ping On 03/22/2016 03:38 PM, Stefan Liebler wrote: > On 03/18/2016 02:04 PM, Stefan Liebler wrote: >> Is the previously attached test-case okay? > > Hi, > here is one further update regarding the new test "iconv/tst-iconv7.c". > If "make check" is executed directly after building without the > installation step, then /iconvdata/gconv-modules hasn't been > generated yet and the system gconv-modules-file/iconv-modules are used > instead - if available. > The test needs gconv-modules and the UTF-16|32 modules as prerequirement. > Thus I've moved it to iconvdata/bug-iconv12.c and added > the prerequirements in iconvdata/Makefile. > > Ok, to commit? > > ChangeLog: > > [BZ #19727] > * iconvdata/utf-16.c (BODY): > Report an error if first word is not a > valid high surrogate. > * iconvdata/utf-32.c (BODY): > Report an error if the value is in range > of an utf16 surrogate. > * iconv/gconv_simple.c (BODY): Likewise. > * iconvdata/bug-iconv12.c: New file. > * iconvdata/Makefile (tests): Add bug-iconv12.