[Box Backup] How to fix compare errors??? normal?

Stefan Norlin boxbackup@fluffy.co.uk
Thu, 4 May 2006 20:21:17 +0200


>>> Local file 
>>> '/persistent/homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf/gps.pdf/gps.pdf' 
>>> has different contents to store file 
>>> '/persistent-homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf/gps.pdf'.
>>
>> This is also weird. The two paths should be the same (below the location 
>> root), but they're not. What version of Box Backup is this? And did you 
>> build it yourself?
>
> So, have anyone seen this double path behaviour? I still get it...

Just had a look in the source... it would seem it is a "cosmetic bug"
in BackupQueries.cpp.

                        printf("Local file '%s"
                            DIRECTORY_SEPARATOR
                            "%s' has different contents "
                            "to store file '%s/%s'.\n",
                            localName.c_str(), i->first.c_str(), 
storeName.c_str(), i->first.c_str());

localName contains the filename including the full path
and then the file name is added an extra time when the
warning is displayed. So I would say this issue could
safely be ignored until fixed.

Regards,
Stefan