Follow-up Comment #9, bug #26701 (project findutils):
Also, it seems that on my system, find does not use gnulib's fnmatch (as there
is no fnmatch.o file lying around after build), and the system fnmatch works
fine, i.e. the test program outputs "Match!" in all the locales I tested
(en_US.UTF-8, de_DE.UTF-8, C).
$ cat /home/lars/tmp/fnmatch/src/testfnm.c
#include <config.h>
#include <stdio.h>
#include "fnmatch.h"
int main(void) {
char *str = "Die_Toten_Hosen_-_Mein_groe337ter_Feind.ogg";
char *pat = "*Feind*";
int r = fnmatch(pat, str, 0);
printf("STRING: %sn", str);
printf("PATTERN: %sn", pat);
if (r == 0)
printf("Match!n");
else if (r == FNM_NOMATCH)
printf("No match!n");
else
printf("Error %d", r);
return 0;
}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?26701>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/