X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fcapture_common.c;h=419786120f746c48a6962e44e894addc9ff31cb6;hb=f5725c14ca24988b9d8c3ad9b67c63135cdabc51;hp=66f6411fdaa1fadc4189b8d02fcd8d0c16fdc62f;hpb=f37f269be1b81cdd00018db0486e377240093e75;p=wimlib diff --git a/src/capture_common.c b/src/capture_common.c index 66f6411f..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 { - DEBUG("\"%"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; }