Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-fuse
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
Kirill Smelkov
go-fuse
Commits
1b101181
Commit
1b101181
authored
Mar 27, 2019
by
Ryan Lamore
Committed by
Han-Wen Nienhuys
Mar 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed debug mode panics w/ invalid opcode
parent
fa130474
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fuse/request.go
fuse/request.go
+3
-3
No files found.
fuse/request.go
View file @
1b101181
...
...
@@ -79,7 +79,7 @@ func (r *request) clear() {
func
(
r
*
request
)
InputDebug
()
string
{
val
:=
""
if
r
.
handler
.
DecodeIn
!=
nil
{
if
r
.
handler
!=
nil
&&
r
.
handler
.
DecodeIn
!=
nil
{
val
=
fmt
.
Sprintf
(
"%v "
,
Print
(
r
.
handler
.
DecodeIn
(
r
.
inData
)))
}
...
...
@@ -99,7 +99,7 @@ func (r *request) InputDebug() string {
func
(
r
*
request
)
OutputDebug
()
string
{
var
dataStr
string
if
r
.
handler
.
DecodeOut
!=
nil
&&
r
.
handler
.
OutputSize
>
0
{
if
r
.
handler
!=
nil
&&
r
.
handler
.
DecodeOut
!=
nil
&&
r
.
handler
.
OutputSize
>
0
{
dataStr
=
Print
(
r
.
handler
.
DecodeOut
(
r
.
outData
()))
}
...
...
@@ -110,7 +110,7 @@ func (r *request) OutputDebug() string {
flatStr
:=
""
if
r
.
flatDataSize
()
>
0
{
if
r
.
handler
.
FileNameOut
{
if
r
.
handler
!=
nil
&&
r
.
handler
.
FileNameOut
{
s
:=
strings
.
TrimRight
(
string
(
r
.
flatData
),
"
\x00
"
)
flatStr
=
fmt
.
Sprintf
(
" %q"
,
s
)
}
else
{
...
...
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