diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2007-08-11 07:05:23 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2007-08-11 07:05:23 +0000 |
commit | 6d5d53af628ff8f0a6c9ba05f7e3a8cbc7709c02 (patch) | |
tree | 4bfcffedc8bd3577c94acd62840ba92ff1c08ad5 /net-p2p/deluge/files | |
parent | 9d542ca73c9f2acac9bfb31cbe22663f2ebcf31b (diff) |
Notes
Diffstat (limited to 'net-p2p/deluge/files')
-rw-r--r-- | net-p2p/deluge/files/patch-libtorrent_src_storage.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/net-p2p/deluge/files/patch-libtorrent_src_storage.cpp b/net-p2p/deluge/files/patch-libtorrent_src_storage.cpp index 04d0678a9a88..bcfe5bf7c341 100644 --- a/net-p2p/deluge/files/patch-libtorrent_src_storage.cpp +++ b/net-p2p/deluge/files/patch-libtorrent_src_storage.cpp @@ -1,15 +1,15 @@ ---- libtorrent/src/storage.cpp.orig 2007-08-06 17:01:24.000000000 -0500 -+++ libtorrent/src/storage.cpp 2007-08-06 17:05:26.000000000 -0500 -@@ -981,7 +981,7 @@ - return true; +--- libtorrent/src/storage.cpp.orig 2007-08-11 01:51:04.000000000 -0500 ++++ libtorrent/src/storage.cpp 2007-08-11 01:52:15.000000000 -0500 +@@ -1027,7 +1027,7 @@ + return false; #endif --#if defined(__APPLE__) || defined(__linux__) -+#if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) - // find the last existing directory of the save path - fs::path query_path = p; - while (!query_path.empty() && !exists(query_path)) -@@ -1058,7 +1058,11 @@ +-#if defined(__linux__) || defined(__FreeBSD__) ++#if defined(__linux__) + struct statfs buf; + int err = statfs(query_path.native_directory_string().c_str(), &buf); + if (err == 0) +@@ -1060,7 +1060,11 @@ #endif // TODO: POSIX implementation |