X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 49FF8385559B
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1690572870;
	bh=8IRiGUCNQhR88SaSYwPAcVaLrgKuqOqDfqeI6R7cgXU=;
	h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=f8M4Npyf3Gdtkuzz2N7QTSpREDRCVqv82LJCowTVWquht4ZU0XJZz/Frnc4k0msAZ
	 GxFC14fA3dObVWKJlY55OCM8V01oWW2RJoKSWQ3PdBaqDzVzym8NDvyuIxHtd8/0BR
	 UzhrDGF3uqC2oUfpYepdEsKlixxFmjMj9Tb4cDy8=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 32CCA3858CDA
ARC-Seal: i=1; a=rsa-sha256; t=1690572830; cv=none;
 d=strato.com; s=strato-dkim-0002;
 b=YcxFq7biN8M1lOjncH+/fWwsRwna9ix07L06p3gBpADzyqP9I1GHOjN7TV6qnNM/Lq
 JUlp2cecf4YMpyxXyCFW7ZdOeHtMFIs34RC4cFwgHonNbCrJZeVCNZUEByA+DBJzINLf
 Qo31iparb/mlmZkeKkoID/jmSCvGK0m+gxumIDy9FfmB9IkQrGvFOfNBw4T+gxTdC7dE
 axCiBq3lCdy1aEiv7Q/XGA5fcWiCMSHV2PZTqp/pOCMpz74op1pXhc6uwkZK51Mns0Q3
 iI28H3qfJY6edoVmitzMOHM9PyL79MOPj1U48XydOwy31obYEZGUOGxoSWRRfLu71byd
 nP9g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1690572830;
 s=strato-dkim-0002; d=strato.com;
 h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From:
 Subject:Sender;
 bh=nGDPzROERmz3NLOYEI3Uqz/0xHmOcy5wZ+fm0ZW69mU=;
 b=pc4nC33b9HGhWqKCP3iQAuFhsvyiwqy4JBiiWCcWJ/0XNX7E+LUPe6ohEn4GojetnH
 IPtVE/FXZKauvAwOBZB+EZnTYvqTk6943FjWNubpLNXpjEnj0UStVIJS741O5UeUs6oL
 jqjhD5EXUHWMIZjlTDTextB/6EklEFZiobk15/A5p4GKNrYbFQ/1Z8mhS/0ovK8QMo6I
 4V8uGzO4kpkPjHgLmtOAW5gSfIepX9idxukPfOUOWr50KAUm4srq8BX/wBN5sur/1Jue
 v4Jx6cKactXSIU6ACp7uGqpD1g5JOYKt8IUxDORBdjVAis2c5MMjLnOTjMNu62PZzasN
 uuyQ==
ARC-Authentication-Results: i=1; strato.com;
    arc=none;
    dkim=none
X-RZG-CLASS-ID: mo00
X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpORjqbhzfxdiTunJHa9eKNxre3I0w=="
To: cygwin@cygwin.com
Subject: Re: fnmatch improvements
Date: Fri, 28 Jul 2023 21:33:50 +0200
Message-ID: <7165278.bTWiN4Om4I@nimes>
In-Reply-To: <ZMQP/7EphqiQNUVW@calimero.vinschen.de>
References: <3884636.3uDm00564X@nimes> <24556977.snJFCo28Jb@nimes>
 <ZMQP/7EphqiQNUVW@calimero.vinschen.de>
MIME-Version: 1.0
X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,
 RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NONE, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Bruno Haible via Cygwin <cygwin@cygwin.com>
Reply-To: Bruno Haible <bruno@clisp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

Corinna Vinschen wrote:
> >   1. cd testdir-fnmatch-posix
> >      ./configure
> >      grep REPLACE_FNMATCH config.status
> >      (Expected: REPLACE_FNMATCH is 0)
> 
>   $ grep REPLACE_FNMATCH config.status
>   S["REPLACE_FNMATCH"]="0"
> 
> >      make
> >      make check
> >      (Expected: No test failures)
> 
>   # TOTAL: 218
>   # PASS:  178
>   # SKIP:  40
>   # XFAIL: 0
>   # FAIL:  0
>   # XPASS: 0
>   # ERROR: 0
> 
>   test-fnmatch-5.sh is SKIPped because we don't support zh_CN.GB18030.
> 
> >      cd ..
> >   2. cd testdir-fnmatch-gnu
> >      ./configure
> >      grep REPLACE_FNMATCH config.status
> >      (Expected: REPLACE_FNMATCH is 1, because of FNM_EXTMATCH)
> 
>   $ grep REPLACE_FNMATCH config.status
>   S["REPLACE_FNMATCH"]="1"
> 
> >      make
> >      make check
> >      (Expected: No test failures)
> 
>   # TOTAL: 218
>   # PASS:  178
>   # SKIP:  40
>   # XFAIL: 0
>   # FAIL:  0
>   # XPASS: 0
>   # ERROR: 0
> 
>   Same SKIP of test-fnmatch-5.sh.
> 
> Does that look ok?

Yes, that's all OK and as expected. I'll commit the fnmatch.m4 patch today.

When the user asks for an fnmatch() with FNM_EXTMATCH support, they will get
the Gnulib fnmatch(), as it supports these GNU extensions. I'll think about
how to make [=X=] and [.X.] work in this case too...

Thank you for your constructive cooperation!

Bruno




-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
