Commit 657acf98 authored by Mike Gabriel's avatar Mike Gabriel

Merge pull request #26 from nitomartinez/fix_developer_debugging

This patch is some code fixes to allow developer debuging by using TEST macros in the NX code
parents 91ac79ec cf4ed917
......@@ -217,7 +217,7 @@ class Agent
#if defined(TEST) || defined(INFO)
*logofs << "Agent: proxyCanRead() is "
<< ((int) FD_ISSET(proxy -> getFd(), &readWorkSet)
<< ((int) FD_ISSET(proxy -> getFd(), &readWorkSet))
<< ".\n" << logofs_flush;
#endif
......
......@@ -92,7 +92,7 @@ void ClearAreaStore::dumpIdentity(const Message *message) const
ClearAreaMessage *clearArea = (ClearAreaMessage *) message;
*logofs << name() << ": Identity exposures " << clearArea -> (unsigned int) exposures
*logofs << name() << ": Identity exposures " << (unsigned int) clearArea -> exposures
<< ", window " << clearArea -> window << ", x " << clearArea -> x
<< ", y " << clearArea -> y << ", width " << clearArea -> width
<< ", height " << clearArea -> height << ", size " << clearArea -> size_
......
......@@ -5176,7 +5176,7 @@ char *Proxy::handleSaveAllStores(const char *savePath) const
*(cacheDumpName + DEFAULT_STRING_LENGTH - 1) = '\0';
mode_t fileMode = umask(0077);
fileMode = umask(0077);
cacheDump = new ofstream(cacheDumpName, ios::out);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment