fixed a stupid bug

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1093 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
jochen 26 years ago
parent cb159304d8
commit 22ca8fd79d
  1. 3
      jode/javaDependencies.pl.in

@ -46,7 +46,8 @@ sub readInBuff ($) {
my $count = $_[0]; my $count = $_[0];
my $offset = 0; my $offset = 0;
while ($count > 0) { while ($count > 0) {
my $result = read FILE, $buff, $count, $offset or 0; my $result;
$result = read FILE, $buff, $count, $offset or return 0;
$offset += $result; $offset += $result;
$count -= $result; $count -= $result;
} }

Loading…
Cancel
Save