git.ucc.asn.au
/
progcomp2012.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Handle case where an AI sends an invalid message and then crashes
[progcomp2012.git]
/
judge
/
manager
/
program.cpp
diff --git
a/judge/manager/program.cpp
b/judge/manager/program.cpp
index
c936de3
..
00a28e9
100644
(file)
--- a/
judge/manager/program.cpp
+++ b/
judge/manager/program.cpp
@@
-251,6
+251,7
@@
bool Program::GetMessage(string & buffer, double timeout)
buffer += c;
}
//fprintf(stderr, "%s\n", buffer.c_str());
+ //fprintf(stderr,"DONE\n");
return true;
/* Old way, using threads, which apparently is terrible
UCC
git Repository :: git.ucc.asn.au