File encfs-1.7.4-fixReverseAbsoluteSymlinks.diff of Package encfs
--- encfs-1.7.4/encfs/DirNode.cpp.orig 2010-08-29 23:27:49.000000000 -0700
+++ encfs-1.7.4/encfs/DirNode.cpp 2012-12-02 19:59:17.446740972 -0800
@@ -357,6 +357,18 @@
{
try
{
+ // bjw 2012/12/2
+ //
+ // In --reverse mode, absolute "plain" paths need special "+" format encoding just like
+ // relativeCipherPath's do in forward mode.
+ //
+ if (fsConfig->reverseEncryption)
+ {
+ if ( cipherPath_[0] == '/' )
+ return string("+") + naming->decodeName( cipherPath_+1,
+ strlen(cipherPath_+1) );
+ }
+ // end bjw mod
if( !strncmp( cipherPath_, rootDir.c_str(),
rootDir.length() ) )
{