fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / cd / cdimgtools / nrgtool_fix_my.patch
blob5ed389c46ca2e52649f524488b11004a78f13025
1 Fixes an error in nrgtool.
2 --- a/nrgtool
3 +++ b/nrgtool
4 @@ -162,7 +162,7 @@ sub process_file {
6 seek $nrg, 0, SEEK_SET if ($iff_only);
7 seek $nrg, $offset, SEEK_SET unless ($iff_only);
8 - while (my $_ = read_chunk($nrg, $iff)) {
9 + while ($_ = read_chunk($nrg, $iff)) {
10 if ($_ < -1) {
11 warn "ERROR while reading an IFF chunk; aborting\n";
12 return;