wok view encfs/stuff/gcc44.patch @ rev 13847

frogatto: try to fix build (Boost 1.47 removed a deprecated function...) btw, we use boost 1.50
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 09 01:13:47 2013 +0000 (2013-01-09)
parents
children
line source
1 --- encfs/NameIO.cpp Wed Aug 6 08:35:05 2008
2 +++ encfs/NameIO.cpp Thu Aug 6 15:43:41 2009
3 @@ -190,7 +190,7 @@
4 } else
5 {
6 bool isDotFile = (*path == '.');
7 - char *next = strchr( path, '/' );
8 + const char *next = strchr( path, '/' );
9 int len = next ? next - path : strlen( path );
11 // at this point we know that len > 0