]> wimlib.net Git - wimlib/blobdiff - src/capture_common.c
wimlib_set_output_{,pack_}_compression_type(): Fix chunk size check
[wimlib] / src / capture_common.c
index 66f6411fdaa1fadc4189b8d02fcd8d0c16fdc62f..419786120f746c48a6962e44e894addc9ff31cb6 100644 (file)
 #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 <fnmatch.h>
-#endif
 #include <string.h>
 
-
 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;
        }