diff options
author | P. J. McDermott <pjm@nac.net> | 2013-09-22 17:21:06 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-09-22 17:21:06 (EDT) |
commit | c7dbd598e3cddc3161bc718f9ea9df6f15f8fdd6 (patch) | |
tree | 4b3357d8e21f5ac338b6ce22ce71b2e13451efd9 /src | |
parent | da9d788a9059ee88240cbbcc5096abc553b1cf1f (diff) | |
download | ssic-c7dbd598e3cddc3161bc718f9ea9df6f15f8fdd6.zip ssic-c7dbd598e3cddc3161bc718f9ea9df6f15f8fdd6.tar.gz ssic-c7dbd598e3cddc3161bc718f9ea9df6f15f8fdd6.tar.bz2 |
Allow input and output to both be "-".
Diffstat (limited to 'src')
-rw-r--r-- | src/ssic.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |