about summary refs log tree commit diff
path: root/editor
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-07-22 14:40:00 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-07-22 14:40:00 +0000
commitf9b231c0a368d482b9c2979933d73105933d339e (patch)
tree20f94d7743e9a1f4d42d385ea91bf4705bf6268c /editor
parentfc1e412af314592b815c32a5604ab7834ef7b9fb (diff)
downloadnetpbm-mirror-f9b231c0a368d482b9c2979933d73105933d339e.tar.gz
netpbm-mirror-f9b231c0a368d482b9c2979933d73105933d339e.tar.xz
netpbm-mirror-f9b231c0a368d482b9c2979933d73105933d339e.zip
Make work with older Perl
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1516 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor')
-rwxr-xr-xeditor/pnmquant4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/pnmquant b/editor/pnmquant
index 175f6906..5edbe85e 100755
--- a/editor/pnmquant
+++ b/editor/pnmquant
@@ -149,7 +149,7 @@ sub openSeekableAsStdin($) {
             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 @@ sub makeColormap($$$$$) {
         push(@options, '-quiet');
     }
 
-    open(STDOUT, ">", $mapfileSpec);
+    open(STDOUT, ">$mapfileSpec");
 
     my $maprc = system("pnmcolormap", $ncolors, @options);