blob: 3a0f3f2579fd97f3ac8091dd060c6286c1a6450b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- editor/pnmquant.orig 2006-08-19 05:12:28.000000000 +0200
+++ editor/pnmquant 2010-05-21 10:37:10.000000000 +0200
@@ -149,7 +149,7 @@
tell(INFH); # Avoids bogus "INFH is not referenced" warning
}
} else {
- open(STDIN, "<", $infile)
+ open(STDIN, "<" . $infile)
or die("Unable to open input file '$infile'. Errno=$ERRNO");
}
}
@@ -194,7 +194,7 @@
push(@options, '-quiet');
}
- open(STDOUT, ">", $mapfileSpec);
+ open(STDOUT, ">" . $mapfileSpec);
my $maprc = system("pnmcolormap", $ncolors, @options);
|