From 3df02058fb3d48a999bbc8d5d56c2910fbc249a4 Mon Sep 17 00:00:00 2001 From: Andreas Wacknitz <A.Wacknitz@gmx.de> Date: Sun, 24 Mar 2024 23:37:14 +0100 Subject: [PATCH] meld: update to 3.22.2 --- components/library/libtorrent/patches/string_manip.patch | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/components/library/libtorrent/patches/string_manip.patch b/components/library/libtorrent/patches/string_manip.patch new file mode 100644 index 0000000..a197081 --- /dev/null +++ b/components/library/libtorrent/patches/string_manip.patch @@ -0,0 +1,30 @@ +--- libtorrent-0.13.3/rak/string_manip.h.orig 2013-10-04 22:39:31.185674832 +0400 ++++ libtorrent-0.13.3/rak/string_manip.h 2013-10-04 22:40:52.599710992 +0400 +@@ -190,9 +190,10 @@ + OutputIterator + copy_escape_html(InputIterator first, InputIterator last, OutputIterator dest) { + while (first != last) { +- if (std::isalpha(*first, std::locale::classic()) || +- std::isdigit(*first, std::locale::classic()) || +- *first == '-') { ++ if (isascii(*first)&& ++ (std::isalpha(*first, std::locale::classic()) || ++ std::isdigit(*first, std::locale::classic()) || ++ *first == '-')) { + *(dest++) = *first; + + } else { +@@ -211,9 +212,10 @@ + OutputIterator + copy_escape_html(InputIterator first1, InputIterator last1, OutputIterator first2, OutputIterator last2) { + while (first1 != last1) { +- if (std::isalpha(*first1, std::locale::classic()) || +- std::isdigit(*first1, std::locale::classic()) || +- *first1 == '-') { ++ if (isascii(*first1)&& ++ (std::isalpha(*first1, std::locale::classic()) || ++ std::isdigit(*first1, std::locale::classic()) || ++ *first1 == '-')) { + if (first2 == last2) break; else *(first2++) = *first1; + + } else { -- Gitblit v1.9.3