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 codeDisadvantages: third FLAG parameter missing => no path "slash" matching and other
Pavel
0001-New-function-Curl_fnmatch-added.patch
Description: txt
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
