wok-stable diff encfs/stuff/gcc44.patch @ rev 12425

Fix missing mkdir command
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 11:13:28 2013 +0100 (2013-12-21)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/encfs/stuff/gcc44.patch	Sat Dec 21 11:13:28 2013 +0100
     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