First off, thanks for writing and maintaining BackupPC!  We've been
using it here for years and are quite happy with it.

 

While debugging another issue about which I will write in another
message, I found this minor bug in BackupPC/Attrib.pm:

 

        $a->{_errStr} = sprintf("Wrong magic number in $file"

                               . " (got 0x%x, expected 0x%x)",

                                   $magic, $a->{type});

 

The problem here is that $file has a percent sign in its name, so the
value of $magic gets put there rather than in the first 0x%x.  I think
this would fix it:

 

        $a->{_errStr} = sprintf("Wrong magic number in %s"

                               . " (got 0x%x, expected 0x%x)",

                                   $file, $magic, $a->{type});

 

Thanks,

 

Jonathan Kamens

Operations Manager / Principal Engineer

Tamale Software

201 South Street, Floor 3

Boston, MA  02211

(617) 261-0264 ext. 133

 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-devel mailing list
BackupPC-devel@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to