[Box Backup-dev] COMMIT r459 - box/chris/win32/vc2005-compile-fixes/lib/win32
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Mon Feb 13 23:47:35 GMT 2006
Author: chris
Date: 2006-02-13 23:47:32 +0000 (Mon, 13 Feb 2006)
New Revision: 459
Modified:
box/chris/win32/vc2005-compile-fixes/lib/win32/emu.cpp
Log:
* emu.cpp
- Zero any unused fields in struct stat, to avoid spurious checksum mismatches
that waste bandwidth and slow down backups
Modified: box/chris/win32/vc2005-compile-fixes/lib/win32/emu.cpp
===================================================================
--- box/chris/win32/vc2005-compile-fixes/lib/win32/emu.cpp 2006-02-13 13:42:38 UTC (rev 458)
+++ box/chris/win32/vc2005-compile-fixes/lib/win32/emu.cpp 2006-02-13 23:47:32 UTC (rev 459)
@@ -581,6 +581,8 @@
return -1;
}
+ memset(st, 0, sizeof(*st));
+
// This next example is how we get our INODE (equivalent) information
conv.HighPart = fi.nFileIndexHigh;
conv.LowPart = fi.nFileIndexLow;
More information about the Boxbackup-dev
mailing list