From patchwork Thu Dec 15 23:35:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 706300 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3tfqZj6dFrz9t1B for ; Fri, 16 Dec 2016 10:36:13 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="fKHGf1Og"; dkim-atps=neutral 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; q=dns; s= default; b=S+P4ySQz0bKbJosm30BHOZZgXbMUzZRDre+F+UjnH4ReXQ1qnId0p eDpjoz3JbcyZOV/qXUOEs+fbIRKvzcs+nHLoUyWqYcObQYhJYkcjTNvji9P5V7cD Uhc/oHGHLzu220nXN4wRRHO/XjFNaoBd9PWYj8Tj0tZbPgWkayNUVM= 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; s=default; bh=PIe0R774UYMVKMb1ddbzZM3WpeI=; b=fKHGf1Og530VVEjEQREjD76Cnifw LizJpkgtTmL2SdXMyjFuObQAPQ9d6C0e/UeBvtnTZ/poixUSG4ykd7GSHISCOdWk +AUZCXGKNrGfRTHm/0XcE67lLJL0vOeKebZg2+mBquN10ujCEffP46d0slA0O/5E ERPQaYjOcrE/HQ4= Received: (qmail 123308 invoked by alias); 15 Dec 2016 23:36:05 -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 123288 invoked by uid 89); 15 Dec 2016 23:36:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=prompted, vapier@gentoo.org, D*gentoo.org, sk:vapier X-HELO: smtp.gentoo.org From: Mike Frysinger To: libc-alpha@sourceware.org Subject: [PATCH] localedata: bs_BA: fix yesexpr/noexpr [BZ #20974] Date: Thu, 15 Dec 2016 18:35:58 -0500 Message-Id: <20161215233558.9658-1-vapier@gentoo.org> Both regexes end with a "*." which means the previous match can be omitted, and then the . allows them to match any input at all. This means tools like coreutils' `rm -i` will always delete things when prompted because the yesexpr regex matches all inputs (even the negative ones). 2016-12-15 Mike Frysinger [BZ #20974] * localedata/bs_BA (LC_MESSAGES): Delete "*." from the end of yesexpr and noexpr. --- localedata/locales/bs_BA | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/localedata/locales/bs_BA b/localedata/locales/bs_BA index a47f87eb373d..68c2f9471a09 100644 --- a/localedata/locales/bs_BA +++ b/localedata/locales/bs_BA @@ -148,8 +148,8 @@ copy "en_DK" END LC_CTYPE LC_MESSAGES -yesexpr "" -noexpr "" +yesexpr "" +noexpr "" yesstr "" nostr "" END LC_MESSAGES