GNU bug report logs - #60708
pcre: improve support for linking with a library without unicode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: grep; Reported by: Carlo Arenas <carenas@HIDDEN>; dated Tue, 10 Jan 2023 11:14:02 UTC; Maintainer for grep is bug-grep@HIDDEN.

Message received at 60708 <at> debbugs.gnu.org:


Received: (at 60708) by debbugs.gnu.org; 11 Jan 2023 21:13:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 11 16:13:29 2023
Received: from localhost ([127.0.0.1]:44086 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pFiPZ-0008AV-Eu
	for submit <at> debbugs.gnu.org; Wed, 11 Jan 2023 16:13:29 -0500
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:53672)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1pFiPW-0008AD-Jz
 for 60708 <at> debbugs.gnu.org; Wed, 11 Jan 2023 16:13:27 -0500
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 35B14160066;
 Wed, 11 Jan 2023 13:13:20 -0800 (PST)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id W1af6woyBAN8; Wed, 11 Jan 2023 13:13:19 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7D8A6160069;
 Wed, 11 Jan 2023 13:13:19 -0800 (PST)
DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu 7D8A6160069
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu;
 s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1673471599;
 bh=iWioG6tSacPK4YWp0aqMPPcd3HiZU5PHDuSn0iHdiT0=;
 h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type:
 Content-Transfer-Encoding;
 b=h9nRBl3EXz02sjs6U7O6aO9Ch4noywL4h4GLewvTyEGbUP1aOyOArBGOHnKeG0h75
 XjDZ9pcDzt4fuS6rKoJ6jbVSkZJhj1S75EmiyoeQBM4hsrtk1byLGkvTTarRkikLI8
 EDOtBnBFvRdmjMHiNb4+gIdoht9WJiwn+GyQIo5A=
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id DgrrscBNr2Am; Wed, 11 Jan 2023 13:13:19 -0800 (PST)
Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com
 [172.91.119.151])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 4C322160066;
 Wed, 11 Jan 2023 13:13:19 -0800 (PST)
Message-ID: <877b0bfb-52ec-3d3e-01cf-6e9760ca82d9@HIDDEN>
Date: Wed, 11 Jan 2023 13:13:19 -0800
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.4.2
Content-Language: en-US
To: Jim Meyering <jim@HIDDEN>, Carlo Arenas <carenas@HIDDEN>
References: <CAPUEspiPdrWfW4eux16L5do3Kh9a3zbLMuoGs5ffCRjX5wjodg@HIDDEN>
 <CA+8g5KG+9ey+hdAQcY2up_xJwv9So9u2rxA03TRZpPj2UxG5gQ@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
Subject: Re: bug#60708: pcre: improve support for linking with a library
 without unicode
In-Reply-To: <CA+8g5KG+9ey+hdAQcY2up_xJwv9So9u2rxA03TRZpPj2UxG5gQ@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -3.4 (---)
X-Debbugs-Envelope-To: 60708
Cc: 60708 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.4 (----)

On 2023-01-10 21:37, Jim Meyering wrote:

> +  uint32_t unicode = 1;
> +  pcre2_config (PCRE2_CONFIG_UNICODE, &unicode);
> +  if (unicode && localeinfo.multibyte)

Shouldn't that be:

   uint32_t unicode;
   if (localeinfo.multibyte
       && 0 <= pcre2_config (PCRE2_CONFIG_UNICODE, &unicode)
       && unicode)

That is, don't bother to call pcre2_config in a unibyte locale, and 
don't initialize 'unicode' (so that valgrind-like tools can detect an 
error if pcre2_config is buggy), and check the return value of pcre2_config.




Information forwarded to bug-grep@HIDDEN:
bug#60708; Package grep. Full text available.

Message received at 60708 <at> debbugs.gnu.org:


Received: (at 60708) by debbugs.gnu.org; 11 Jan 2023 05:38:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 11 00:38:12 2023
Received: from localhost ([127.0.0.1]:41524 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pFToS-0008Ny-BT
	for submit <at> debbugs.gnu.org; Wed, 11 Jan 2023 00:38:12 -0500
Received: from mail-lj1-f171.google.com ([209.85.208.171]:47033)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <meyering@HIDDEN>) id 1pFToQ-0008Nl-Ad
 for 60708 <at> debbugs.gnu.org; Wed, 11 Jan 2023 00:38:10 -0500
Received: by mail-lj1-f171.google.com with SMTP id bn6so14903188ljb.13
 for <60708 <at> debbugs.gnu.org>; Tue, 10 Jan 2023 21:38:10 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=7KAZ0hKb/xQKnkGtja/Vowka0xmC52dwD9QQIzuMPB0=;
 b=bt2uWPWhRp1PR4+osNTx4s2n5WBGQAzRnFiIcJA7CeAFv5xTeSUtoWYwMHJYr/INBA
 E04tQ2U1+NDbbqnJLZ9UJg1WAaDaklefak55UDNBIxsIbM5m9VrDDC5an2DCp9OIgBZA
 Eiqzm+qlXAcbW7lei2I0otGaaMqvpCvYrmZQa886cspbN3nKFaLiTxBH5/lnQkY+FGKu
 B44EzNb7CF1aX7HwAa77Pcacb5o2yLJBpMhWK1igcAnP34239ugdMBfOOC4StnJTMMQz
 6V1uiXgd7KjTRHzO86+4wjhpZXlbrBBqpv+aB4o3HzXkU9ucaf9EbVBVUqF0vHDk0PZV
 9lbA==
X-Gm-Message-State: AFqh2kqreEVrz9AFZkMohT+J7nx94FZ36qNuxz8Sm9/u1Rs2B+av8Y7K
 jqbvOKa3IQxk9q4AotRhNCU3PymfO340CaDdIkQ=
X-Google-Smtp-Source: AMrXdXtHwhYnEf9D4/JRPicnnqT+R+OfNFudxYgvUAICp1wAjU19heETwJTGFxUC+JDLHEaYDzHxZXOfn+NEFM3DwrE=
X-Received: by 2002:a2e:a723:0:b0:288:ea8c:80ea with SMTP id
 s35-20020a2ea723000000b00288ea8c80eamr2964lje.306.1673415484335; Tue, 10 Jan
 2023 21:38:04 -0800 (PST)
MIME-Version: 1.0
References: <CAPUEspiPdrWfW4eux16L5do3Kh9a3zbLMuoGs5ffCRjX5wjodg@HIDDEN>
In-Reply-To: <CAPUEspiPdrWfW4eux16L5do3Kh9a3zbLMuoGs5ffCRjX5wjodg@HIDDEN>
From: Jim Meyering <jim@HIDDEN>
Date: Tue, 10 Jan 2023 21:37:51 -0800
Message-ID: <CA+8g5KG+9ey+hdAQcY2up_xJwv9So9u2rxA03TRZpPj2UxG5gQ@HIDDEN>
Subject: Re: bug#60708: pcre: improve support for linking with a library
 without unicode
To: Carlo Arenas <carenas@HIDDEN>
Content-Type: multipart/mixed; boundary="00000000000082549a05f1f66705"
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 60708
Cc: 60708 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

--00000000000082549a05f1f66705
Content-Type: text/plain; charset="UTF-8"

On Tue, Jan 10, 2023 at 3:19 AM Carlo Arenas <carenas@HIDDEN> wrote:
> Noticed while testing the previous patch, and which resulted in tests
> being skipped for the wrong reason.

Thanks for catching that.
I'll push the following tomorrow.
It has a tiny change that moves the declaration of "unicode" down to
just before where it's set and changes its type to uint32_t.

--00000000000082549a05f1f66705
Content-Type: application/octet-stream; name="pcre-no-unicode.diff"
Content-Disposition: attachment; filename="pcre-no-unicode.diff"
Content-Transfer-Encoding: base64
Content-ID: <f_lcr8c1vs0>
X-Attachment-Id: f_lcr8c1vs0

RnJvbSBkMzA2YjkyZWRjYmNhM2FmZWMyNDM3MGIzYjI1ZDQxZGJmNTU2Y2ZmIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/Q2FybG89MjBNYXJjZWxvPTIwQXJlbmFzPTIw
QmVsPUMzPUIzbj89IDxjYXJlbmFzQGdtYWlsLmNvbT4KRGF0ZTogRnJpLCA2IEphbiAyMDIzIDIw
OjQwOjA3IC0wODAwClN1YmplY3Q6IFtQQVRDSF0gcGNyZTogdXNlIFVURiBvbmx5IHdoZW4gYXZh
aWxhYmxlIGluIHRoZSBsaWJyYXJ5CgpCZWZvcmUgdGhpcyBjaGFuZ2UsIGlmIGxpbmtlZCB3aXRo
IGEgUENSRSBsaWJyYXJ5IHdpdGhvdXQgdW5pY29kZQphbnkgaW52b2NhdGlvbnMgb2YgZ3JlcCB3
aGVuIHVzaW5nIGEgVVRGIGxvY2FsZSB3aWxsIGVycm9yIHdpdGg6CgogIGdyZXA6IHRoaXMgdmVy
c2lvbiBvZiBQQ1JFMiBkb2VzIG5vdCBoYXZlIFVuaWNvZGUgc3VwcG9ydAoKKiBzcmMvcGNyZXNl
YXJjaC5jOiBDaGVjayB3aGV0aGVyIFVuaWNvZGUgd2FzIGNvbXBpbGVkIGluLgoqIHRlc3RzL3Bj
cmUtdXRmOC13OiBBZGQgY2hlY2sgdG8gc2tpcCB0ZXN0LgoqIHRlc3RzL3BjcmUtdXRmODogVXBk
YXRlIGNoZWNrLgotLS0KIHNyYy9wY3Jlc2Vhc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ZXhwIHx8IGZyYW1ld29ya19mYWlsdXJlXwogZ3JlcCAtUG8g
Jy5cYicgaW4gPiBvdXQgfHwgZmFpbD0xCi0tIAoyLjM5LjAuMTMyLmc4YTRlOGY2YTY3Cgo=
--00000000000082549a05f1f66705--




Information forwarded to bug-grep@HIDDEN:
bug#60708; Package grep. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Jan 2023 11:13:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 10 06:13:48 2023
Received: from localhost ([127.0.0.1]:38964 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pFCZf-0007tX-PD
	for submit <at> debbugs.gnu.org; Tue, 10 Jan 2023 06:13:47 -0500
Received: from lists.gnu.org ([209.51.188.17]:56932)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <carenas@HIDDEN>) id 1pFCZd-0007tJ-Q8
 for submit <at> debbugs.gnu.org; Tue, 10 Jan 2023 06:13:46 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <carenas@HIDDEN>) id 1pFCZR-00062F-J6
 for bug-grep@HIDDEN; Tue, 10 Jan 2023 06:13:33 -0500
Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <carenas@HIDDEN>) id 1pFCZQ-0003lC-4m
 for bug-grep@HIDDEN; Tue, 10 Jan 2023 06:13:33 -0500
Received: by mail-oi1-x234.google.com with SMTP id h185so9722993oif.5
 for <bug-grep@HIDDEN>; Tue, 10 Jan 2023 03:13:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=vNs5/W6ebtoIilX2D2j++8C0r8vzUctcimbm6g8FR6Q=;
 b=YUqECBN+293EwOpXvFLw4Kb7CySkqucBe/bz93ZKsIdBAHq3wFejd27lTZC+JJDZ+A
 lNuA+lBxits+dPdCPZsYZfnsCqbagKdwRLpciJLWxCMJxgWMS5dEBxTSj+ryOMq10CJl
 lc7dpjIfQjTWrJrW71+PH7CZ/sLGFvfZq0Uj19XWhmkwKwaXI80+TGe7c7L7EJ/rJcHl
 I0rZ/bShi5Zo3M1sC/4bE7s3al4cVN+OhfRHJMpJfvDFujja8cNu6VXWm+mgeUpIUk9O
 7v5ViGRFgMbGOtwGGAEIKpBRDXvh8E2DIY9+36Nt0BpsfQGXmFCkq+DJYb1l84AZvLXG
 pDpQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=vNs5/W6ebtoIilX2D2j++8C0r8vzUctcimbm6g8FR6Q=;
 b=F05qImg/abtPPeIdesxoX8YLySPpbgBt9HtJtkz3/kk/cLUs5O66jeiJWmpMcCAMg4
 f2Obc2S/m8mqkkGxREeKB89xR9VlWWRuo8KOqnRBr8JWRpqEabWj53vNeGtGR6J6hFql
 EqRqhOAvtn9CQPfpSg1Vkx+M4LLKm19T0JUfCAC3xOCqKc8gcOAuC3U9faO9tCYJw5AR
 R31u7Hj31tUu+X/7Y9aarz0EWX52wr0M5GUIbU4f4+8pfASg1qR9SwmQinSwqdZPLHdI
 uvERRpjJgr6H1lmHrhPNEcW/LsMYFKvbNMWPZRdm8/fOTS3FdrWxmyCV+Ubxnid/nbLL
 k81A==
X-Gm-Message-State: AFqh2kqXoMKi9ttjuxQcKzHlJSCXnKGy7rEf/orwR70qeBi8boOCdWpQ
 Gu3nkHrAHGYtB+zoGFY9Ef27LQdCwPeCWRSZuLXf7RHh
X-Google-Smtp-Source: AMrXdXu88fNNL+Fz6zmaCtBFJvXdWUj/UHeovBytIcfBQmMaKVS7F8n6uLCDAZZZiPZsl+Ily44Dvk6juTt7z0CV4Js=
X-Received: by 2002:a05:6808:1d9:b0:359:f10b:5477 with SMTP id
 x25-20020a05680801d900b00359f10b5477mr3809766oic.277.1673349208908; Tue, 10
 Jan 2023 03:13:28 -0800 (PST)
MIME-Version: 1.0
From: Carlo Arenas <carenas@HIDDEN>
Date: Tue, 10 Jan 2023 03:13:17 -0800
Message-ID: <CAPUEspiPdrWfW4eux16L5do3Kh9a3zbLMuoGs5ffCRjX5wjodg@HIDDEN>
Subject: pcre: improve support for linking with a library without unicode
To: bug-grep@HIDDEN
Content-Type: multipart/mixed; boundary="0000000000002eea9f05f1e6f9d0"
Received-SPF: pass client-ip=2607:f8b0:4864:20::234;
 envelope-from=carenas@HIDDEN; helo=mail-oi1-x234.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--0000000000002eea9f05f1e6f9d0
Content-Type: text/plain; charset="UTF-8"

Noticed while testing the previous patch, and which resulted in tests
being skipped for the wrong reason.

Carlo

--0000000000002eea9f05f1e6f9d0
Content-Type: application/octet-stream; 
	name="0001-pcre-only-use-UTF-when-available-in-the-library.patch"
Content-Disposition: attachment; 
	filename="0001-pcre-only-use-UTF-when-available-in-the-library.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_lcq4txrr0>
X-Attachment-Id: f_lcq4txrr0

RnJvbSAzYzY1ZWE1MzJmNzQ1YTJiYzYxOWVkMWFhMzJiOWMyNjE1NTMyOWMzIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/Q2FybG89MjBNYXJjZWxvPTIwQXJlbmFzPTIw
QmVsPUMzPUIzbj89IDxjYXJlbmFzQGdtYWlsLmNvbT4KRGF0ZTogRnJpLCA2IEphbiAyMDIzIDIw
OjQwOjA3IC0wODAwClN1YmplY3Q6IFtQQVRDSF0gcGNyZTogb25seSB1c2UgVVRGIHdoZW4gYXZh
aWxhYmxlIGluIHRoZSBsaWJyYXJ5CgpCZWZvcmUgdGhpcyBjaGFuZ2UsIGlmIGxpbmtlZCB3aXRo
IGEgUENSRSBsaWJyYXJ5IHdpdGhvdXQgdW5pY29kZQphbnkgaW52b2NhdGlvbnMgb2YgZ3JlcCB3
aGVuIHVzaW5nIGFuIFVURiBsb2NhbGUgd2lsbCBlcnJvciB3aXRoOgoKICBncmVwOiB0aGlzIHZl
cnNpb24gb2YgUENSRTIgZG9lcy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EvdGVzdHMvcGNyZS11dGY4LXcgYi90ZXN0cy9wY3JlLXV0Zjgt
dwppbmRleCA0Y2Q3ZGI2Li44MWFjOWZmIDEwMDc1NQotLS0gYS90ZXN0cy9wY3JlLXV0Zjgtdwor
KysgYi90ZXN0cy9wY3JlLXV0ZjgtdwpAQCAtMTMsOSArMTMsMTIgQEAgTENfQUxMPWVuX1VTLlVU
Ri04CiBleHBvcnQgTENfQUxMCiByZXF1aXJlX3BjcmVfCiAKK2VjaG8gLiB8IGdyZXAgLXFQICco
KlVURikuJyAyPi9kZXYvbnVsbCBcCisgIHx8IHNraXBfICdQQ1JFIHVuaWNvZGUgc3VwcG9ydCBp
cyBjb21waWxlZCBvdXQnCisKIGZhaWw9MAogCi1lY2hvICdQZXLDuic+IGluIHx8IGZyYW1ld29y
a19mYWlsdXJlXworZWNobyAnUGVyw7onID4gaW4gfHwgZnJhbWV3b3JrX2ZhaWx1cmVfCiAKIGVj
aG8gJ8O6JyA+IGV4cCB8fCBmcmFtZXdvcmtfZmFpbHVyZV8KIGdyZXAgLVBvICcuXGInIGluID4g
b3V0IHx8IGZhaWw9MQotLSAKMi4zNy4xIChBcHBsZSBHaXQtMTM3LjEpCgo=
--0000000000002eea9f05f1e6f9d0--




Acknowledgement sent to Carlo Arenas <carenas@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-grep@HIDDEN. Full text available.
Report forwarded to bug-grep@HIDDEN:
bug#60708; Package grep. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 11 Jan 2023 21:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.