summaryrefslogtreecommitdiff
path: root/filesystems/fuse-encfs/patches/patch-encfs_main.cpp
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2017-11-11 03:18:16 +0000
committergdt <gdt@pkgsrc.org>2017-11-11 03:18:16 +0000
commitc337b4b50903c3628dec872604ed697595cc18ce (patch)
treecd706c2ac5bb2c1a23c2030653ecafd7d92ea1f6 /filesystems/fuse-encfs/patches/patch-encfs_main.cpp
parentb7c5a20f5e170e4eb89dae0ef5ae38a0b7d7c2d0 (diff)
downloadpkgsrc-c337b4b50903c3628dec872604ed697595cc18ce.tar.gz
Update to 1.9.2:
- fix a use-after-free bug that was introduced in v1.9-rc1 (#214) - cast booleans to int before writing the XML config (#343) - support reading the config file from pipes (#253) - add "-t" option to set syslog tag - allow read/write in standard reverse mode (#301) - reject empty passwords - support building with openssl 1.1
Diffstat (limited to 'filesystems/fuse-encfs/patches/patch-encfs_main.cpp')
-rw-r--r--filesystems/fuse-encfs/patches/patch-encfs_main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/filesystems/fuse-encfs/patches/patch-encfs_main.cpp b/filesystems/fuse-encfs/patches/patch-encfs_main.cpp
index 09d61277c92..1b260c21e46 100644
--- a/filesystems/fuse-encfs/patches/patch-encfs_main.cpp
+++ b/filesystems/fuse-encfs/patches/patch-encfs_main.cpp
@@ -1,6 +1,6 @@
-$NetBSD: patch-encfs_main.cpp,v 1.1 2017/06/19 18:41:39 maya Exp $
+$NetBSD: patch-encfs_main.cpp,v 1.2 2017/11/11 03:18:16 gdt Exp $
---- encfs/main.cpp.orig 2016-09-18 20:16:04.000000000 +0000
+--- encfs/main.cpp.orig 2017-07-25 18:26:45.000000000 +0000
+++ encfs/main.cpp
@@ -488,8 +488,10 @@ static void *idleMonitor(void *);
void *encfs_init(fuse_conn_info *conn) {
@@ -11,5 +11,5 @@ $NetBSD: patch-encfs_main.cpp,v 1.1 2017/06/19 18:41:39 maya Exp $
conn->async_read = true;
+#endif
- if (ctx->args->isDaemon) {
- // Switch to using syslog.
+ // if an idle timeout is specified, then setup a thread to monitor the
+ // filesystem.