FreeBSD Bugzilla – Attachment 171759 Details for
Bug 210532
sysutils/fusefs-encfs: Fix "Function not implemented" on create operations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
encfs.patch (text/plain), 2.46 KB, created by
Dmitri Goutnik
on 2016-06-24 16:23:36 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Dmitri Goutnik
Created:
2016-06-24 16:23:36 UTC
Size:
2.46 KB
patch
obsolete
>Index: sysutils/fusefs-encfs/Makefile >=================================================================== >--- sysutils/fusefs-encfs/Makefile (revision 417437) >+++ sysutils/fusefs-encfs/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= encfs > PORTVERSION= 1.8.1 >+PORTREVISION= 1 > DISTVERSIONPREFIX= v > CATEGORIES= sysutils > PKGNAMEPREFIX= fusefs- >Index: sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp >=================================================================== >--- sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp (revision 417437) >+++ sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp (working copy) >@@ -1,16 +1,14 @@ > --- encfs/encfs.cpp.orig 2015-03-24 20:45:16 UTC > +++ encfs/encfs.cpp >-@@ -529,6 +529,17 @@ int encfs_open(const char *path, struct >+@@ -529,6 +529,15 @@ int encfs_open(const char *path, struct > return res; > } > >-+int encfs_create(const char *path, mode_t mode, struct fuse_file_info *file) >-+{ >-+ int res; >-+ >-+ res = encfs_mknod(path, mode, 0); >-+ if (res) >++int encfs_create(const char *path, mode_t mode, struct fuse_file_info *file) { >++ int res = encfs_mknod(path, mode, 0); >++ if (res) { > + return res; >++ } > + > + return encfs_open(path, file); > +} >Index: sysutils/fusefs-encfs/files/patch-encfs_main.cpp >=================================================================== >--- sysutils/fusefs-encfs/files/patch-encfs_main.cpp (revision 417437) >+++ sysutils/fusefs-encfs/files/patch-encfs_main.cpp (working copy) >@@ -1,4 +1,4 @@ >---- encfs/main.cpp.orig 2016-06-18 20:53:13 UTC >+--- encfs/main.cpp.orig 2015-03-24 20:45:16 UTC > +++ encfs/main.cpp > @@ -27,6 +27,7 @@ > #include <sys/time.h> >@@ -8,3 +8,12 @@ > > #include <getopt.h> > >+@@ -599,7 +600,7 @@ int main(int argc, char *argv[]) { >+ encfs_oper.init = encfs_init; >+ encfs_oper.destroy = encfs_destroy; >+ // encfs_oper.access = encfs_access; >+- // encfs_oper.create = encfs_create; >++ encfs_oper.create = encfs_create; >+ encfs_oper.ftruncate = encfs_ftruncate; >+ encfs_oper.fgetattr = encfs_fgetattr; >+ // encfs_oper.lock = encfs_lock; >Index: sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp >=================================================================== >--- sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp (revision 417437) >+++ sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp (working copy) >@@ -1,4 +1,4 @@ >---- encfs/makeKey.cpp.orig 2016-06-18 20:53:44 UTC >+--- encfs/makeKey.cpp.orig 2015-03-24 20:45:16 UTC > +++ encfs/makeKey.cpp > @@ -25,6 +25,7 @@ > #include "openssl.h"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dmgk
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 210532
: 171759