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
Levin Zimmermann
go-fuse
Commits
2d21448b
Commit
2d21448b
authored
Aug 11, 2010
by
Ivan Krasin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed C stub: it can't include sys/socket.h
parent
5ee7b794
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
17 deletions
+3
-17
fuse/Makefile
fuse/Makefile
+0
-3
fuse/fuse.go
fuse/fuse.go
+3
-7
fuse/utils.c
fuse/utils.c
+0
-7
No files found.
fuse/Makefile
View file @
2d21448b
...
@@ -7,8 +7,5 @@ GOFILES=\
...
@@ -7,8 +7,5 @@ GOFILES=\
fuse.go
\
fuse.go
\
types.go
\
types.go
\
OFILES
=
\
utils.
$O
\
include
$(GOROOT)/src/Make.pkg
include
$(GOROOT)/src/Make.pkg
fuse/fuse.go
View file @
2d21448b
...
@@ -79,13 +79,9 @@ func (m *MountPoint) Unmount() (err os.Error) {
...
@@ -79,13 +79,9 @@ func (m *MountPoint) Unmount() (err os.Error) {
func
getFuseConn
(
local
net
.
Conn
)
(
f
*
os
.
File
,
err
os
.
Error
)
{
func
getFuseConn
(
local
net
.
Conn
)
(
f
*
os
.
File
,
err
os
.
Error
)
{
var
fd
int
var
fd
int
errno
:=
receive_fuse_conn
(
local
.
File
()
.
Fd
(),
&
fd
)
return
nil
,
os
.
NewError
(
fmt
.
Sprintf
(
"receive_fuse_conn failed with errno: %d"
,
errno
))
if
errno
!=
0
{
// f = os.NewFile(fd, "fuse-conn")
return
nil
,
os
.
NewError
(
fmt
.
Sprintf
(
"receive_fuse_conn failed with errno: %d"
,
errno
))
// return
}
f
=
os
.
NewFile
(
fd
,
"fuse-conn"
)
return
}
}
func
receive_fuse_conn
(
fd
int
,
fuse_fd
*
int
)
int
fuse/utils.c
deleted
100644 → 0
View file @
5ee7b794
int
receive_fuse_conn
(
int
fd
,
int
*
fuse_fd
)
{
if
(
fd
<
0
)
{
return
-
1
;
}
*
fuse_fd
=
-
1
;
return
-
1
;
}
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