/[BackupPC]/trunk/bin/BackupPC_tarIncCreate
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/bin/BackupPC_tarIncCreate

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 252 by dpavlin, Mon Dec 12 13:41:04 2005 UTC revision 253 by dpavlin, Mon Dec 12 13:41:08 2005 UTC
# Line 272  sub new_tar_part { Line 272  sub new_tar_part {
272                          $items_in_part,                          $items_in_part,
273                  );                  );
274    
275                  $total_increment_size += int( ( $size + 1023 ) / 1024 ) * 1024;                  #$total_increment_size += int( ( $size + 1023 ) / 1024 ) * 1024;
276                    $total_increment_size += $size;
277    
278                  if ($arg->{close}) {                  if ($arg->{close}) {
279    
# Line 310  sub new_tar_part { Line 311  sub new_tar_part {
311          # if this is first part, create directory          # if this is first part, create directory
312    
313          if ($part == 1) {          if ($part == 1) {
314                  if (-d $tar_path) {                  if (-e $tar_path) {
315                          print STDERR "# deleting existing $tar_path\n" if ($opts{d});                          print STDERR "# deleting existing $tar_path\n" if ($opts{d});
316                          rmtree($tar_path);                          rmtree($tar_path);
317                  }                  }

Legend:
Removed from v.252  
changed lines
  Added in v.253

  ViewVC Help
Powered by ViewVC 1.1.26