Репозитории ALT
S: | 1.9.5-alt1 |
5.1: | 1.5.2-alt7 |
4.1: | 1.3.1-alt6 |
4.0: | 1.3.1-alt6 |
3.0: | 1.2.4-alt1 |
Группа :: Система/Ядро и оборудование
Пакет: fuse-encfs
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: encfs.static.char.patch
Скачать
Скачать
diff --git a/fuse-encfs/encfs/NameIO.cpp b/fuse-encfs/encfs/NameIO.cpp
index 988bd78..a13694f 100644
--- a/fuse-encfs/encfs/NameIO.cpp
+++ b/fuse-encfs/encfs/NameIO.cpp
@@ -190,7 +190,7 @@ std::string NameIO::recodePath( const char *path,
} else
{
bool isDotFile = (*path == '.');
- char *next = strchr( path, '/' );
+ const char *next = strchr( path, '/' );
int len = next ? next - path : strlen( path );
// at this point we know that len > 0