aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent-rasterbar-14/files/patch-src-file.cpp
blob: 8f739d6d5f7b308f67a740a010cad70101cc3c7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/file.cpp.orig	2012-01-27 20:46:48.000000000 +0300
+++ src/file.cpp	2012-01-27 20:47:10.000000000 +0300
@@ -207,7 +207,7 @@
 			| S_IRGRP | S_IWGRP
 			| S_IROTH | S_IWOTH;
 
-		m_fd = ::open(path.external_file_string().c_str()
+		m_fd = ::open(path.native().c_str()
 			, map_open_mode(mode.m_mask), permissions);
 
 		if (m_fd == -1)