Commit 46e7a7bd authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 0f724956
...@@ -247,7 +247,7 @@ static error mmap_into_ro(void *addr, size_t size, os::File f, off_t offset); ...@@ -247,7 +247,7 @@ static error mmap_into_ro(void *addr, size_t size, os::File f, off_t offset);
// (*) equivalent might be to send something like "pin #<bsize>.. Z" (pin // (*) equivalent might be to send something like "pin #<bsize>.. Z" (pin
// blocks bsize till ∞ to zeros). // blocks bsize till ∞ to zeros).
error WCFS::_headWait(zodb::Tid at) { error WCFS::_headWait(zodb::Tid at) {
WCFS *wc = this; WCFS& wc = *this;
xerr::Contextf E("%s: headWait @%s", v(wc), v(at)); xerr::Contextf E("%s: headWait @%s", v(wc), v(at));
etrace(""); etrace("");
...@@ -257,7 +257,7 @@ error WCFS::_headWait(zodb::Tid at) { ...@@ -257,7 +257,7 @@ error WCFS::_headWait(zodb::Tid at) {
// XXX dumb implementation, because _headWait should go away. // XXX dumb implementation, because _headWait should go away.
while (1) { while (1) {
tie(xatStr, err) = ioutil::ReadFile(wc->_path("head/at")); tie(xatStr, err) = ioutil::ReadFile(wc._path("head/at"));
if (err != nil) if (err != nil)
return E(err); return E(err);
......
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