wok-current annotate encfs/stuff/gcc44.patch @ rev 10248

Up: nitrogen to 1.5.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 02:17:14 2011 +0000 (2011-05-21)
parents
children
rev   line source
pankso@3823 1 --- encfs/NameIO.cpp Wed Aug 6 08:35:05 2008
pankso@3823 2 +++ encfs/NameIO.cpp Thu Aug 6 15:43:41 2009
pankso@3823 3 @@ -190,7 +190,7 @@
pankso@3823 4 } else
pankso@3823 5 {
pankso@3823 6 bool isDotFile = (*path == '.');
pankso@3823 7 - char *next = strchr( path, '/' );
pankso@3823 8 + const char *next = strchr( path, '/' );
pankso@3823 9 int len = next ? next - path : strlen( path );
pankso@3823 10
pankso@3823 11 // at this point we know that len > 0