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
7ce5b4c6
Commit
7ce5b4c6
authored
Dec 27, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
ea3987b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wcfs/misc.go
wcfs/misc.go
+2
-2
No files found.
wcfs/misc.go
View file @
7ce5b4c6
...
...
@@ -245,7 +245,7 @@ func (f *skFile) Read(dest []byte, /*ignored*/off int64) (fuse.ReadResult, fuse.
err
=
nil
}
if
err
==
io
.
EOF
{
// XXX what here?
n
=
0
// read(2): "zero indicates end of file"
}
if
err
!=
nil
{
return
nil
,
err2LogStatus
(
err
)
...
...
@@ -276,7 +276,7 @@ func (f *skFile) Write(data []byte, /*ignored*/off int64) (uint32, fuse.Status)
err
=
nil
}
if
err
==
io
.
ErrClosedPipe
{
// XXX what here
?
err
=
syscall
.
ECONNRESET
// XXX better EPIPE
?
}
if
err
!=
nil
{
return
0
,
err2LogStatus
(
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