wok diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/encfs/stuff/gcc44.patch	Fri May 11 14:55:49 2012 +0200
     1.3 @@ -0,0 +1,11 @@
     1.4 +--- encfs/NameIO.cpp	Wed Aug  6 08:35:05 2008
     1.5 ++++ encfs/NameIO.cpp	Thu Aug  6 15:43:41 2009
     1.6 +@@ -190,7 +190,7 @@
     1.7 + 	} else
     1.8 + 	{
     1.9 + 	    bool isDotFile = (*path == '.');
    1.10 +-	    char *next = strchr( path, '/' );
    1.11 ++	    const char *next = strchr( path, '/' );
    1.12 + 	    int len = next ? next - path : strlen( path );
    1.13 +
    1.14 + 	    // at this point we know that len > 0