X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=lib%2FBackupPC%2FFileZIO.pm;h=294579a1574ff9b5f7837f15929acd3f38a4a83b;hp=c520725172dabde2a0ec3eb474ab16799b7143bc;hb=c2b072c9ad558447fb73fedf0cad170214b7d80e;hpb=b81d2da5e16975674f011e4833337ac0fa24e0ea diff --git a/lib/BackupPC/FileZIO.pm b/lib/BackupPC/FileZIO.pm index c520725..294579a 100644 --- a/lib/BackupPC/FileZIO.pm +++ b/lib/BackupPC/FileZIO.pm @@ -29,7 +29,7 @@ # #======================================================================== # -# Version 3.0.0beta2, released 11 Nov 2006. +# Version 3.0.0, released 28 Jan 2007. # # See http://backuppc.sourceforge.net. # @@ -173,13 +173,13 @@ sub read my $chr = substr($self->{dataIn}, 0, 1); $self->{inflateStart} = 0; - if ( $chr eq chr(0xd6) ) { + if ( $chr eq chr(0xd6) || $chr eq chr(0xd7) ) { # - # Flag 0xd6 means this is a compressed file with + # Flag 0xd6 or 0xd7 means this is a compressed file with # appended md4 block checksums for rsync. Change # the first byte back to 0x78 and proceed. # - ##print("Got 0xd6 block: normal\n"); + ##print("Got 0xd6/0xd7 block: normal\n"); substr($self->{dataIn}, 0, 1) = chr(0x78); } elsif ( $chr eq chr(0xb3) ) { #