projects
/
ssic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da9d788
)
Allow input and output to both be "-".
author
P. J. McDermott
<pjm@nac.net>
Sun, 22 Sep 2013 21:21:06 +0000
(17:21 -0400)
committer
P. J. McDermott
<pjm@nac.net>
Sun, 22 Sep 2013 21:21:06 +0000
(17:21 -0400)
src/ssic.pl
patch
|
blob
|
history
diff --git
a/src/ssic.pl
b/src/ssic.pl
index d678556be7716789249ad70d4c540e31f266ad71..8ecc30e92104be274b2178284bcb3cb6bc9f9c45 100644
(file)
--- 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");
}