You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-crypt/kencfs/files/kencfs-1.4.0-encfs5.patch

14 lines
413 B

Support older encfs5 volumes wrt Gentoo bug #446652.
--- a/fsDialog.cpp
+++ b/fsDialog.cpp
@@ -161,7 +161,7 @@
arg << cr << pm << "-S";
p->start(prg,arg);
- if (! QFile::exists(cr+"/.encfs6.xml")) p->write("\n");
+ if (! (QFile::exists(cr+"/.encfs6.xml") || QFile::exists(cr+"/.encfs5")) ) p->write("\n");
p->write(pw.toLocal8Bit().data());
p->write("\n");
p->waitForFinished();