From: John L. <mov...@us...> - 2003-04-28 01:08:44
|
Update of /cvsroot/oprofile/oprofile/libpp In directory sc8-pr-cvs1:/tmp/cvs-serv31955/libpp Modified Files: Tag: pp-interface-branch parse_cmdline.cpp Log Message: filter classes introduction Index: parse_cmdline.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libpp/Attic/parse_cmdline.cpp,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -d -r1.1.2.5 -r1.1.2.6 --- parse_cmdline.cpp 24 Apr 2003 18:06:08 -0000 1.1.2.5 +++ parse_cmdline.cpp 28 Apr 2003 01:08:40 -0000 1.1.2.6 @@ -10,7 +10,7 @@ #include "parse_cmdline.h" #include "string_manip.h" -#include "filename_match.h" +#include "glob_filter.h" using namespace std; @@ -220,15 +220,15 @@ } if (!image.empty()) { - filename_match fnmatch(image, image_exclude); - if (!fnmatch.strict_match(spec.image)) { + glob_filter filter(image, image_exclude); + if (!filter.match(spec.image)) { return false; } } if (!lib_image.empty()) { - filename_match fnmatch(lib_image, lib_image_exclude); - if (!fnmatch.strict_match(spec.lib_image)) { + glob_filter filter(lib_image, lib_image_exclude); + if (!filter.match(spec.lib_image)) { return false; } } |