Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
46e7a7bd
Commit
46e7a7bd
authored
Mar 10, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
0f724956
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wcfs/client/wcfs.cpp
wcfs/client/wcfs.cpp
+2
-2
No files found.
wcfs/client/wcfs.cpp
View file @
46e7a7bd
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment