diff options
Diffstat (limited to 'net-p2p/libtorrent-rasterbar-14/files/patch-src-torrent_info.cpp')
-rw-r--r-- | net-p2p/libtorrent-rasterbar-14/files/patch-src-torrent_info.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/libtorrent-rasterbar-14/files/patch-src-torrent_info.cpp b/net-p2p/libtorrent-rasterbar-14/files/patch-src-torrent_info.cpp new file mode 100644 index 000000000000..82632ed24b04 --- /dev/null +++ b/net-p2p/libtorrent-rasterbar-14/files/patch-src-torrent_info.cpp @@ -0,0 +1,11 @@ +--- src/torrent_info.cpp.orig 2012-01-27 20:42:54.000000000 +0300 ++++ src/torrent_info.cpp 2012-01-27 20:44:06.000000000 +0300 +@@ -199,7 +199,7 @@ + fs::path new_path; + for (fs::path::const_iterator i = p.begin(); i != p.end(); ++i) + { +- if (!valid_path_element(*i)) continue; ++ if (!valid_path_element((*i).string())) continue; + new_path /= *i; + } + TORRENT_ASSERT(!new_path.is_complete()); |