Priority:
For 1.39:
+- If a job terminates, the DIR connection can close before the
+ Volume info is updated, leaving the File count wrong.
- Look at why SIGPIPE during connection can cause seg fault in
writing the daemon message, when Dir dropped to bacula:bacula
- Look at zlib 32 => 64 problems.
unsigned char digest[MD5HashSize];
memcpy(&md5c, &jcr->fileset->md5c, sizeof(md5c));
MD5Final(digest, &md5c);
- bin_to_base64(fsr.MD5, sizeof(fsr.MD5), (char *)digest, MD5HashSize, true);
+ /*
+ * Keep the flag (last arg) set to false otherwise old FileSets will
+ * get new MD5 sums and the user will get Full backups on everything
+ */
+ bin_to_base64(fsr.MD5, sizeof(fsr.MD5), (char *)digest, MD5HashSize, false);
bstrncpy(jcr->fileset->MD5, fsr.MD5, sizeof(jcr->fileset->MD5));
} else {
Jmsg(jcr, M_WARNING, 0, _("FileSet MD5 digest not found.\n"));
/* Do not lock device here because it may be locked from label */
if (!do_get_volume_info(dcr)) {
Jmsg(jcr, M_FATAL, 0, "%s", jcr->errmsg);
- Pmsg2(000, _("Didn't get vol info vol=%s: ERR=%s"),
+ Dmsg2(100, _("Didn't get vol info vol=%s: ERR=%s"),
vol->VolCatName, jcr->errmsg);
return false;
}
#undef VERSION
#define VERSION "1.39.18"
-#define BDATE "03 August 2006"
-#define LSMDATE "03Aug06"
+#define BDATE "04 August 2006"
+#define LSMDATE "04Aug06"
#define BYEAR "2006" /* year for copyright messages in progs */
/* Debug flags */
if (bAddDrive && !bAddCurrentPath) {
wchar_t szDrive[3];
- if (!bAddPrefix && dwCurDirPathSize > 3 && wcsncmp((LPCWSTR)pwszCurDirBuf, L"\\\\?\\", 4) == 0) {
+ if (dwCurDirPathSize > 3 && wcsncmp((LPCWSTR)pwszCurDirBuf, L"\\\\?\\", 4) == 0) {
/* copy drive character */
wcsncpy((wchar_t *)szDrive, (LPCWSTR)pwszCurDirBuf+4, 2);
} else {
/* create temp. buffer */
POOLMEM* pszBuf = get_pool_memory(PM_FNAME);
pszBuf = check_pool_memory_size(pszBuf, (dwBufCharsNeeded+MAX_PATH)*sizeof(wchar_t));
-// if (bAddPrefix)
-// nParseOffset = 4;
-// else
+ if (bAddPrefix)
+ nParseOffset = 4;
+ else
nParseOffset = 0;
wcsncpy((wchar_t *)pszBuf, (wchar_t *)pwszBuf+nParseOffset, wcslen((wchar_t *)pwszBuf)+1-nParseOffset);
g_pVSSPathConvertW((wchar_t *)pszBuf, (wchar_t *)pwszBuf, dwBufCharsNeeded+MAX_PATH);
General:
03Aug06
+kes Remove previous changes to compat.cpp as they create problems.
+kes Use old style MD5 for FileSets to avoid Full saves on every Job.
kes Attempt to fix problems with the msg_queue crashing on Solaris
when Bacula is terminating, but problems remain.
kes Add WIN32_VSS to HAVES in src/Makefile.inc.in to correct VSS
name editing problems with too many \\?\es.
-kes Add an extra test for !bAddPrefix at line 256 compat.cpp
kes Fix some Bacula source code stlye problems in compat.cpp.
-kes Turn off 3 lines of code at line 331 of compat.cpp
kes Add debug code to compat.cpp and convert non-Bacula debug code
to Bacula style.
02Aug06