Fixing bugs in communication.

- The reporter can't be used from the child process.

- Don't attempt to send a zero-sized chunk when remote print buffer is
  empty.
This commit is contained in:
Robin Sommer 2011-07-01 18:49:15 -07:00
parent b520f98541
commit 4580bef3e6
4 changed files with 29 additions and 16 deletions

View file

@ -120,6 +120,11 @@ public:
#endif
protected:
void InternalError(const char* msg)
// We can't use the reporter here as we might be running in a
// sub-process.
{ fprintf(stderr, "%s", msg); abort(); }
Statistics stats;
const char* tag;