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

linld: fix open_image
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 01 16:48:25 2018 +0100 (2018-12-01)
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