projects
/
perl-fuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
903378b
)
Check that the option string is not an empty string. If it is, don't add
author
Derrik Pates
<demon@now.ai>
Thu, 19 May 2011 19:42:49 +0000
(13:42 -0600)
committer
Derrik Pates
<demon@now.ai>
Thu, 19 May 2011 19:42:49 +0000
(13:42 -0600)
"-o" and an empty mountopts to the argument list.
Fuse.xs
patch
|
blob
|
history
diff --git
a/Fuse.xs
b/Fuse.xs
index
3a09519
..
4e1ab7d
100755
(executable)
--- a/
Fuse.xs
+++ b/
Fuse.xs
@@
-1657,7
+1657,7
@@
perl_fuse_main(...)
fuse_opt_free_args(&args);
croak("out of memory\n");
}
- if (mountopts &&
+ if (mountopts &&
strcmp("", mountopts) &&
(fuse_opt_add_arg(&args, "-o") == -1 ||
fuse_opt_add_arg(&args, mountopts) == -1)) {
fuse_opt_free_args(&args);