wok annotate encfs/stuff/gcc44.patch @ rev 12754

Up ecm (1.03)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 11 14:55:49 2012 +0200 (2012-05-11)
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