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
9f8828aa
Commit
9f8828aa
authored
Oct 22, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
2c94dbd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
wcfs/internal/wcfs_misc.h
wcfs/internal/wcfs_misc.h
+2
-1
wcfs/internal/wcfs_virtmem.cpp
wcfs/internal/wcfs_virtmem.cpp
+3
-1
No files found.
wcfs/internal/wcfs_misc.h
View file @
9f8828aa
...
...
@@ -63,7 +63,8 @@ public:
// XXX empty ctor -> fd=-1, path=?
int
fd
();
string
name
();
error
close
();
//error close();
void
close
();
error
stat
(
struct
stat
*
st
);
};
...
...
wcfs/internal/wcfs_virtmem.cpp
View file @
9f8828aa
...
...
@@ -257,7 +257,9 @@ error _Mapping::_remmapblk(int64_t blk, Tid at) {
fmt
::
sprintf
(
"@%s/bigfile/%s"
,
h_
(
at
),
h_
(
f
->
foid
)));
if
(
err
!=
nil
)
return
err
;
defer
(
fsfile
.
close
);
defer
([
&
]()
{
// FIXME move out of local scope
fsfile
.
close
();
});
}
struct
stat
st
;
...
...
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