From c7dbd598e3cddc3161bc718f9ea9df6f15f8fdd6 Mon Sep 17 00:00:00 2001 From: "P. J. McDermott" Date: Sun, 22 Sep 2013 17:21:06 -0400 Subject: [PATCH] Allow input and output to both be "-". --- src/ssic.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssic.pl b/src/ssic.pl index d678556..8ecc30e 100644 --- a/src/ssic.pl +++ b/src/ssic.pl @@ -111,7 +111,7 @@ sub compile my $var_name; my $var_value; - if ($input eq $output) { + if ($input eq $output and $input ne "-") { error(4, "Input and output files are equal\n"); } -- 2.31.1