X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fcapture_common.c;h=419786120f746c48a6962e44e894addc9ff31cb6;hb=aa0455d90b43f8dbee133afe7658c671f0a7a158;hp=c45ae152345e7ecba77c983ded9d3d2a81ea5b39;hpb=5816eba3f41b63910c5d932a8ed22a2c9f65c492;p=wimlib diff --git a/src/capture_common.c b/src/capture_common.c index c45ae152..41978612 100644 --- a/src/capture_common.c +++ b/src/capture_common.c @@ -31,15 +31,10 @@ #include "wimlib/error.h" #include "wimlib/lookup_table.h" #include "wimlib/paths.h" +#include "wimlib/wildcard.h" -#ifdef __WIN32__ -# include "wimlib/win32.h" /* for fnmatch() equivalent */ -#else -# include -#endif #include - static int canonicalize_pattern(const tchar *pat, tchar **canonical_pat_ret) { @@ -176,9 +171,6 @@ match_pattern(const tchar *path, DEBUG("\"%"TS"\" matches the pattern \"%"TS"\"", string, pat); return true; - } else { - DEBUG2("\"%"TS"\" does not match the pattern \"%"TS"\"", - string, pat); } } return false; @@ -194,6 +186,7 @@ do_capture_progress(struct add_image_params *params, int status, return; case WIMLIB_SCAN_DENTRY_UNSUPPORTED: case WIMLIB_SCAN_DENTRY_EXCLUDED: + case WIMLIB_SCAN_DENTRY_EXCLUDED_SYMLINK: if (!(params->add_flags & WIMLIB_ADD_FLAG_EXCLUDE_VERBOSE)) return; }