[llvm-commits] CVS: llvm-www/demo/index.cgi
anon at cs.uiuc.edu
anon at cs.uiuc.edu
Wed Mar 4 05:22:58 PST 2009
Changes in directory llvm-www/demo:
index.cgi updated: 1.97 -> 1.98
---
Log message:
Don't try to compile the source if the user didn't press the compile button.
---
Diffs of the changes: (+1 -1)
index.cgi | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm-www/demo/index.cgi
diff -u llvm-www/demo/index.cgi:1.97 llvm-www/demo/index.cgi:1.98
--- llvm-www/demo/index.cgi:1.97 Wed Mar 4 04:27:41 2009
+++ llvm-www/demo/index.cgi Wed Mar 4 07:20:10 2009
@@ -333,7 +333,7 @@
close $fh;
}
-if ($source) {
+if ($c->param && $source) {
print $c->hr;
my $extension = $suffixes{ $c->param('language') };
barf "Unknown language; can't compile\n" unless $extension;
More information about the llvm-commits
mailing list