[Box Backup-dev] COMMIT r459 - box/chris/win32/vc2005-compile-fixes/lib/win32

Chris Wilson boxbackup-dev at fluffy.co.uk
Tue Feb 14 00:17:32 GMT 2006


Hi Ben,

Please merge this before producing a new release candidate, it's kind of 
important :-)

Cheers, Chris.

On Mon, 13 Feb 2006 subversion at fluffy.co.uk wrote:

> 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;
>
> _______________________________________________
> Boxbackup-dev mailing list
> Boxbackup-dev at fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup-dev
>
>
> !DSPAM:43f11af9157172884816971!
>

-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |




More information about the Boxbackup-dev mailing list