wok diff encfs/stuff/gcc44.patch @ rev 14719

libsdl: add add-XGetRequest-symbol.patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 13:26:19 2013 +0200 (2013-06-11)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/encfs/stuff/gcc44.patch	Tue Jun 11 13:26:19 2013 +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