make_win32_path_UTF8_2_wchar(&wpath.addr(), ff->top_fname);
wchar_t *p = (wchar_t *)wpath.c_str();
Dmsg2(10, "ASX Convert wchart %s => %ls\n", ff->top_fname, p);
+ /* ff->top_fname = "C:/" => p = "\\?\C:\" */
DWORD len = wcslen(p);
#if 0
// remove any trailing '/' or '\\'
return handle_file(jcr, ff_pkt, top_level);
}
- Dmsg1(300, "File ----: %s\n", fname);
+ Dmsg2(300, "File ----: %s snap=%s\n", fname, snap_fname);
/* Save current times of this directory in case we need to
* reset them because the user doesn't want them changed.
bstrncat(ff->VerifyOpts, inc->VerifyOpts, sizeof(ff->VerifyOpts));
Dmsg1(100, "find_files: file=%s\n", inc->fname);
if (!file_is_excluded(ff, inc->fname)) {
- if (find_one_file(jcr, ff, file_save, inc->fname, inc->fname, (dev_t)-1, 1) ==0) {
+ if (find_one_file(jcr, ff, file_save, inc->fname, inc->fname, (dev_t)-1, true) ==0) {
return 0; /* error return */
}
}
#!/bin/sh
+# use option "bat=no" to disable BAT
+# use option "winfiled" to only build the bacula-fd.exe without the installer
+set -e
make clean
# Build win32 Bacula
make bat=no