From patchwork Thu Oct 26 08:58:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike FABIAN X-Patchwork-Id: 830538 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-86374-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="JnLm+2CJ"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yN1C840KBz9t3n for ; Thu, 26 Oct 2017 19:59:00 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=IaaWKkrkCReNX3j3eC4F42zi5Fzds HrzMnJKXEVMGyjj+WEiuZwouo/4X+NLjmoGN3BR5fCL9nQpQsI0KnKFq1nmU3Z4d 5QrXvhX1SObKv6DUDnUdA7c27veL1GOFDyElkELfdxXQwIFw2fIxLxMyhHIv9SNJ J2b3JM3EUCbKek= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; s=default; bh=EszC9rfRaP7D1anX9Xuz613Ide0=; b=JnL m+2CJqgV4ozGIBp7vxtRbDXsLjNFykf3Cm/4XNHcRJ8z89iSeqRi6lVH28I5ytWO FxgCBTFxzwo824brCczcd+8NfUIN3fB3z0C+fJdoyD3A60Kq6o2cPUOGOGHOA0Ym x4UrKhh2MPZtfPNZYDmuKtX31XPiqT3zKSevPFkk= Received: (qmail 93814 invoked by alias); 26 Oct 2017 08:58:54 -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 82008 invoked by uid 89); 26 Oct 2017 08:58:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=letter X-HELO: mx1.redhat.com DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 43CDE90901 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=mfabian@redhat.com From: Mike FABIAN To: GNU C Library Subject: [committed, PATCH] chr_US locale: Fix yesexpr and noexpr Date: Thu, 26 Oct 2017 10:58:27 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr, match also for the contents of yesstr and nostr. As the first letter of yesstr and nostr is equal, checking only for the first letter is not enough. - From effc9e1d50912d4bc58e189ed30017bb596878b9 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 25 Oct 2017 09:56:21 +0200 Subject: [PATCH 12/19] chr_US locale: Fix yesexpr and noexpr * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr, match also for the contents of yesstr and nostr. As the first letter of yesstr and nostr is equal, checking only for the first letter is not enough. --- ChangeLog | 7 +++++++ localedata/locales/chr_US | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4dc57d8189..337af44277 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2017-10-25 Mike FABIAN + + * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr, + match also for the contents of yesstr and nostr. As the first letter + of yesstr and nostr is equal, checking only for the first letter + is not enough. + 2017-10-25 Mike FABIAN * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ", diff --git a/localedata/locales/chr_US b/localedata/locales/chr_US index 1fa25fbd93..5ff061aa76 100644 --- a/localedata/locales/chr_US +++ b/localedata/locales/chr_US @@ -98,8 +98,8 @@ week 7;19971130;1 END LC_TIME LC_MESSAGES -yesexpr "" -noexpr "" +yesexpr "^([+1yY]|)" +noexpr "^([-0nN]|)" yesstr "" nostr "" END LC_MESSAGES -- 2.14.2