Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 273156 | Differences between
and this patch

Collapse All | Expand All

(-)a/test/test_primitives.cpp (-1 / +4 lines)
Lines 17-22 Link Here
17
using namespace libtorrent;
17
using namespace libtorrent;
18
using namespace boost::tuples;
18
using namespace boost::tuples;
19
using boost::bind;
19
using boost::bind;
20
namespace libtorrent {
21
	fs::path sanitize_path(fs::path const& p);
22
}
20
23
21
tuple<int, int> feed_bytes(http_parser& parser, char const* str)
24
tuple<int, int> feed_bytes(http_parser& parser, char const* str)
22
{
25
{
Lines 255-261 int test_main() Link Here
255
 	torrent["info"] = info;
258
 	torrent["info"] = info;
256
 	torrent_info ti2(torrent);
259
 	torrent_info ti2(torrent);
257
 	std::cerr << ti2.name() << std::endl;
260
 	std::cerr << ti2.name() << std::endl;
258
 	TEST_CHECK(ti2.name() == "test3");
261
 	TEST_CHECK(ti2.name() == "test1/test2/test3");
259
 
262
 
260
 	info["name.utf-8"] = "test2/../test3/.././../../test4";
263
 	info["name.utf-8"] = "test2/../test3/.././../../test4";
261
 	torrent["info"] = info;
264
 	torrent["info"] = info;

Return to bug 273156