From patchwork Fri Jan 26 11:03:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike FABIAN X-Patchwork-Id: 25571 Received: (qmail 106845 invoked by alias); 26 Jan 2018 11:03:28 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 106789 invoked by uid 89); 26 Jan 2018 11:03:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=AA, letter X-HELO: mail-wm0-f68.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:organization:date:message-id :user-agent:mime-version:content-disposition; bh=vLQ7RxUPdcw2Aw4oT3o4Bmqx9CkJGRYz9dJQXUqenT8=; b=QYBuXAmeuIhPzcaCl4+w9gYpzu/o4IVWgKf0T8tNKKBByt9mijT5Evt6TDPvtkUVeH 4BAtrdG0y37OaPWoTB3jybOwA0K2dsni3SYdLejEVvROLiJfoHzRXmQED5gkB39xJHV3 P3ZSXa8c06m0ifpknFMz7vlYgHO4zPN4+/fN3tAmQfqiKoQOzi0C7mp281TiU2hTqfrW hvpKeCOTyFrCmYeH6V66UOcbvLkD68TCdEcQYg1zddIfSWAlxYwIxqc14qzMgi6KsJFq ODzE4m3ws19NHh4v/9K5EGbG/+uYvbJ8BvlL5aQyBk79zAYByDnXHKbYk+S+gwcBhy1D Z55Q== X-Gm-Message-State: AKwxytcxm86gu/rHq22/0z5Im+GebMXoEEk3RS50Mg+nSixEdLnMvMCT z9mMsxarU8tzbuStO+q14ZThRDsZGg== X-Google-Smtp-Source: AH8x224UnLHi4PDCmjcO/1AoieZ8sx8YuzTGWTEIckkJykXsd7uFQk5X7zzj8wcuVl1Rf1MLYcwC2A== X-Received: by 10.28.142.10 with SMTP id q10mr10907598wmd.3.1516964593391; Fri, 26 Jan 2018 03:03:13 -0800 (PST) From: Mike FABIAN To: libc-alpha@sourceware.org Subject: [Patch 9/13] [BZ #14095] update collation data from Unicode / ISO 14651 Date: Fri, 26 Jan 2018 12:03:12 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Disposition: inline; filename=0009-Fix-posix-bug-regex5.c-test-case-adapt-to-iso14651_t.patch From f3dbb126b68a14b20a2389afdf937ee93fc3e9f0 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Fri, 15 Dec 2017 07:19:45 +0100 Subject: [PATCH 09/13] Fix posix/bug-regex5.c test case, adapt to iso14651_t1_common upate This test case tests how many collating elements are defined in da_DK.ISO-8859-1 locale. The da_DK locale source defines 4: collating-element from "" collating-element from "" collating-element from "" collating-element from "" The new iso14651_t1_common file defines more collating elements, two of them are in the ISO-8859-1 range: collating-element from "" % decomposition of LATIN CAPITAL LETTER L WITH MIDDLE DOT collating-element from "" % decomposition of LATIN SMALL LETTER L WITH MIDDLE DOT So the total count is now 6 instead of 4. * posix/bug-regex5.c: Fix test case because with the new iso14651_t1_common file, the da_DK locale now has 6 collating elements in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common file. --- posix/bug-regex5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posix/bug-regex5.c b/posix/bug-regex5.c index fd18b19df4..573da231e3 100644 --- a/posix/bug-regex5.c +++ b/posix/bug-regex5.c @@ -53,9 +53,9 @@ main (void) printf ("No collating element!\n"); return 1; } - else if (found != 4) + else if (found != 6) { - printf ("expected 4 collating elements, found %d\n", found); + printf ("expected 6 collating elements, found %d\n", found); return 1; } -- 2.14.3