cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] New function Curl_fnmatch() added

From: Pavel Raiskup <xraisk00_at_gmail.com>
Date: Mon, 26 Apr 2010 11:53:59 +0200

I'd like to propose you this function which should be used as the default
matching function for CURLOPT_WILDCARDMATCH (implemented ASAP). It could
be used for other features in future too.

POSIX fnmatch(3) vs. Curl_fnmatch()
Benefits: independecy, hope easy code
Disadvantages: third FLAG parameter missing => no path "slash" matching
and other

Pavel
Received on 2010-04-26