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
b938fedf
Commit
b938fedf
authored
Aug 12, 2014
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fuse/nodefs: fix null pointer dereference for Utimens on darwin.
parent
7f5e9e55
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fuse/nodefs/files_darwin.go
fuse/nodefs/files_darwin.go
+1
-1
No files found.
fuse/nodefs/files_darwin.go
View file @
b938fedf
...
...
@@ -77,7 +77,7 @@ func (f *loopbackFile) Utimens(a *time.Time, m *time.Time) fuse.Status {
if
m
==
nil
{
tv
[
1
]
.
Usec
=
_UTIME_OMIT
}
else
{
n
:=
a
.
UnixNano
()
n
:=
m
.
UnixNano
()
tv
[
1
]
=
syscall
.
NsecToTimeval
(
n
)
}
...
...
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