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

xfdesktop, xfprint, xfwm4-themes, xfwm4: fix WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 13:08:28 2009 +0200 (2009-09-24)
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