diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-08-05 13:18:45 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-08-05 13:18:45 -0500 |
commit | b179064c61f7f1e60d8a8bbd253cb4c8d4954add (patch) | |
tree | 5e4e4baaaee1d922ded06369b87c673976cf8653 /libre/kodi/fix-ftpparse.patch | |
parent | 153389206ecac7246c8abb5031574fbbd372d248 (diff) | |
download | abslibre-b179064c61f7f1e60d8a8bbd253cb4c8d4954add.tar.gz abslibre-b179064c61f7f1e60d8a8bbd253cb4c8d4954add.tar.bz2 abslibre-b179064c61f7f1e60d8a8bbd253cb4c8d4954add.zip |
kodi-17.3-4.parabola1: updating version
Diffstat (limited to 'libre/kodi/fix-ftpparse.patch')
-rw-r--r-- | libre/kodi/fix-ftpparse.patch | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/libre/kodi/fix-ftpparse.patch b/libre/kodi/fix-ftpparse.patch new file mode 100644 index 000000000..feec94922 --- /dev/null +++ b/libre/kodi/fix-ftpparse.patch @@ -0,0 +1,71 @@ +--- a/xbmc/filesystem/FTPParse.cpp 2017-05-24 22:49:32.000000000 +0200 ++++ b/xbmc/filesystem/FTPParse.cpp 2017-07-15 14:15:54.908823456 +0200 +@@ -34,7 +34,7 @@ + m_time = 0; + } + +-string CFTPParse::getName() ++std::string CFTPParse::getName() + { + return m_name; + } +@@ -59,16 +59,16 @@ + return m_time; + } + +-void CFTPParse::setTime(string str) ++void CFTPParse::setTime(std::string str) + { + /* Variables used to capture patterns via the regexes */ +- string month; +- string day; +- string year; +- string hour; +- string minute; +- string second; +- string am_or_pm; ++ std::string month; ++ std::string day; ++ std::string year; ++ std::string hour; ++ std::string minute; ++ std::string second; ++ std::string am_or_pm; + + /* time struct used to set the time_t variable */ + struct tm time_struct = {}; +@@ -338,21 +338,21 @@ + return day_of_week; + } + +-int CFTPParse::FTPParse(string str) ++int CFTPParse::FTPParse(std::string str) + { + /* Various variable to capture patterns via the regexes */ +- string permissions; +- string link_count; +- string owner; +- string group; +- string size; +- string date; +- string name; +- string type; +- string stuff; +- string facts; +- string version; +- string file_id; ++ std::string permissions; ++ std::string link_count; ++ std::string owner; ++ std::string group; ++ std::string size; ++ std::string date; ++ std::string name; ++ std::string type; ++ std::string stuff; ++ std::string facts; ++ std::string version; ++ std::string file_id; + + /* Regex for standard Unix listing formats */ + pcrecpp::RE unix_re("^([-bcdlps])" // type |