import sources

This commit is contained in:
Adam Samalik 2023-06-20 17:11:51 +02:00
parent e5b551265a
commit 652bf1f461

View File

@ -1,6 +1,15 @@
diff -up highlight-3.42/src/core/platform_fs.cpp.list-available-langs highlight-3.42/src/core/platform_fs.cpp
--- highlight-3.42/src/core/platform_fs.cpp.list-available-langs 2019-01-11 11:42:30.948013206 +0100
+++ highlight-3.42/src/core/platform_fs.cpp 2019-01-11 11:44:25.206011626 +0100
--- highlight-3.42/src/core/platform_fs.cpp.list-available-langs 2019-01-11 12:29:24.887974294 +0100
+++ highlight-3.42/src/core/platform_fs.cpp 2019-01-11 12:30:22.229973501 +0100
@@ -190,7 +190,7 @@ void getFileNames ( const string &direct
if ( errno ) return;
// save the first fileName entry for this recursion
- const unsigned firstEntry = fileName.size();
+ //const unsigned firstEntry = fileName.size();
// save files and sub directories
while ( ( entry = readdir ( dp ) ) != NULL ) {
@@ -222,8 +222,10 @@ void getFileNames ( const string &direct
if ( errno ) return;