wok-stable view encfs/stuff/gcc44.patch @ rev 7625

Down: docbook-xml to 4.5. This is good thing since it now build new packages that depend on gnome-doc-utils fine. Don't update to 5.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Dec 12 15:53:13 2010 +0000 (2010-12-12)
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