[Box Backup-dev] COMMIT r348 - in box/chris/bb-save-state: . bin/bbackupd lib/common lib/server

Ben Summers boxbackup-dev at fluffy.co.uk
Sun Feb 5 20:44:54 GMT 2006


On 5 Feb 2006, at 20:19, Chris Wilson wrote:

> Hi Ben,
>
>> bin/bbackupquery/BackupQueries.cpp
>> 	- we'll have to make that generic at some point
>
> I actually don't think it's necessary on other platforms. The  
> problem is that Nick's emulated functions work with filenames in  
> UTF-8, which seems reasonable, but the win32 console cannot display  
> UTF-8. I would expect that on other platforms, especially unix  
> ones, the console is at least capable of rendering file names in  
> whatever encoding they are stored in.

OK. Certainly true for the platforms I use, let's assume it's only  
Win32 which is rubbish for now.


>> Finally, why have you changed const_iterator to iterator?
>>
>
> VS2005 won't compile with these as const_iterators - it seems to  
> think that it needs to modify the iterated-over item.

Interesting. How about a #define const_iterator iterator in  
BoxPlatform.h for MSVC instead? It'd be nice to keep them as they  
have value.

Ben





More information about the Boxbackup-dev mailing list