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

*l2tp*: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 02 13:34:15 2018 +0200 (2018-08-02)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/encfs/stuff/gcc44.patch	Thu Aug 02 13:34:15 2018 +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