[Box Backup-dev] Re: First official Win32 release

Gary boxbackup-dev@fluffy.co.uk
Sat, 28 Jan 2006 08:12:40 -0800 (PST)


>> -- You need to delete the stored file as soon as it's 
>> been read in. Consider what will happen if the process 
>> aborts, and is restarted.

The discrepancy between the state file and the remote server would be, I believe, corrected during
the next run, when a set of directories is re-scanned by the client. Deleting the state file would
force a complete re-cache from server on the next run, instead of an "incremental" update of the
state.

> By the way, Gary, what's with all the comments like this:
> 
>          //
>          //
>          //

I use this simple technique to separate a codepage into logical chunks. Once you get used to it,
you mentally read/search/modify about twice as easy. Those, of course, can be removed :).

>> I see a lot of similarities between Archive and Protocol. 
>> Using Protocol with 
>> auto-generated definitions would catch coding errors later.

I did not catch the meaning here. Why exactly is the Protocol similar to Archive? They do not
serve the same purpose, as far as I remember.

>> I will not insist that operator overloaded i/o is changed 
>> (but feel free to do so).

Since the rest of the code does not use it, we should probably remove it.

Gary


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com