Kern Sibbald wrOTE (2007/09/03): > fnmatch("a*b/*", "abbb/.x", FNM_PATHNAME|FNM_PERIOD) returns fail > (i.e. FN_NOMATCH). > and on my version of the BSD fnmatch.c it returns success. I could have
Hello, I think that there is a bug in BSD :o/ I debugged your example and I think, that I understand where the problem is, but I'm afraid, that the solution could not be easy - it is somewhat inherent from historic BSD 4.4 Lite sources. I looked at FreeBSD and NetBSD sources and they both look similar in the critical path. I will send a Problem Report for FreeBSD system and we will see. Thanks. -- Rudolf Cejka <cejkar at fit.vutbr.cz> http://www.fit.vutbr.cz/~cejkar Brno University of Technology, Faculty of Information Technology Bozetechova 2, 612 66 Brno, Czech Republic ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users