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

cyrus-sasl-pam: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 26 17:55:41 2011 +0200 (2011-05-26)
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