cvsuser 03/08/08 01:44:24
Modified: languages/imcc main.c
Log:
reading from stdin and writing to stdout is ok
Revision Changes Path
1.38 +1 -1 parrot/languages/imcc/main.c
Index: main.c
===================================================================
RCS file: /cvs/public/parrot/languages/imcc/main.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -w -r1.37 -r1.38
--- main.c 2 Aug 2003 13:40:16 -0000 1.37
+++ main.c 8 Aug 2003 08:44:24 -0000 1.38
@@ -413,7 +413,7 @@
Parrot_setflag(interpreter, PARROT_EXEC_FLAG, ext);
}
#endif
- if (!strcmp(sourcefile, output))
+ if (!strcmp(sourcefile, output) && strcmp(sourcefile, "-"))
fatal(1, "main", "outputfile is sourcefile\n");
}