Difference for lib/adm/collect_images.pl from version 1.6 to 1.7


version 1.6 version 1.7
Line 55
 
Line 55
     $fh = $ESRV[$count];      $fh = $ESRV[$count];
     open($fh, ">crossfire.$count") ||      open($fh, ">crossfire.$count") ||
  die("Can't open crossfire.$count for write: $!\n");   die("Can't open crossfire.$count for write: $!\n");
    binmode( $fh );
 }  }
   
 open(BMAPS,"bmaps.paths") || die("Can't open bmaps.paths: $!\n");  open(BMAPS,"bmaps.paths") || die("Can't open bmaps.paths: $!\n");
Line 84
 
Line 85
   
  $length = -s "$filename";   $length = -s "$filename";
  if (open(FILE,"$filename")) {   if (open(FILE,"$filename")) {
        binmode( FILE );
      print $fh "IMAGE $num $length $file.$file1\n";       print $fh "IMAGE $num $length $file.$file1\n";
      print "Error reading file $filename" if (!read(FILE, $buf, $length));       print "Error reading file $filename" if (!read(FILE, $buf, $length));
      $position = tell $fh;       $position = tell $fh;


Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:05