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
57fb96f5
Commit
57fb96f5
authored
Mar 04, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
d46fba7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
wcfs/client/wcfs.cpp
wcfs/client/wcfs.cpp
+1
-3
No files found.
wcfs/client/wcfs.cpp
View file @
57fb96f5
...
@@ -560,8 +560,6 @@ error _Conn::resync(zodb::Tid at) {
...
@@ -560,8 +560,6 @@ error _Conn::resync(zodb::Tid at) {
bool
retok
=
false
;
bool
retok
=
false
;
defer
([
&
]()
{
defer
([
&
]()
{
if
(
!
retok
)
if
(
!
retok
)
// XXX log?
//fprintf(stderr, "\n\nTODO: bring wconn + fileh + mmaps down on error\n\n\n");
wconn
.
close
();
// ignore error
wconn
.
close
();
// ignore error
});
});
...
@@ -572,7 +570,7 @@ error _Conn::resync(zodb::Tid at) {
...
@@ -572,7 +570,7 @@ error _Conn::resync(zodb::Tid at) {
// we need this e.g. to be sure that head/f.size is at least as big that it will be @at state.
// we need this e.g. to be sure that head/f.size is at least as big that it will be @at state.
err
=
wconn
.
_headWait
(
at
);
err
=
wconn
.
_headWait
(
at
);
if
(
err
!=
nil
)
if
(
err
!=
nil
)
return
err
;
// XXX -> wconn down on err XXX + all return vvv
return
err
;
// lock wconn._atMu.W . This excludes everything else, and in
// lock wconn._atMu.W . This excludes everything else, and in
...
...
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