[Box Backup-dev] Win32 Port

Chris Wilson boxbackup-dev@fluffy.co.uk
Sun, 23 Jul 2006 01:45:56 +0100 (BST)


Hi all,

They said it couldn't be done...
They said it shouldn't be done...
They said I was crazy...
They were wrong!
(well, maybe not about the last part)

I'm please to announce that I've ported (almost) all the unit tests to 
Windows, and they now pass.

This involved porting bbstored to run on Windows. This is _definitely_ not 
a recommended configuration. Only one client can connect at once, and 
housekeeping is run synchronously in process. Any exceptions kill the 
whole process. Nevertheless, it allows the bbackupd unit tests to work.

Tests which are disabled on Win32 mainly relate to symbolic links, 
restoring attributes, daemons listening on unix sockets, sending HUP to 
processes, and checking for memory leaks in bbstored.

Some tests have been altered to make them pass on Win32, for example, 
bbackupd is shut down using bbackupctl rather than signals, since the TERM 
signal kills bbackupd stone dead without giving it a chance to close 
existing connections or write the memory leak test file.

Work remains to be done on fixing support for large files, locked files, 
and restoring attributes. But I'm ready to start merging what I have into 
the trunk. I will start posting patches for your consideration ASAP.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | 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 |