mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
fix storage oops
This commit is contained in:
parent
680826e969
commit
ae8def9320
1 changed files with 2 additions and 6 deletions
|
@ -981,7 +981,7 @@ namespace libtorrent
|
||||||
return true;
|
return true;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__)
|
#if defined(__APPLE__) || defined(__linux__)
|
||||||
// find the last existing directory of the save path
|
// find the last existing directory of the save path
|
||||||
fs::path query_path = p;
|
fs::path query_path = p;
|
||||||
while (!query_path.empty() && !exists(query_path))
|
while (!query_path.empty() && !exists(query_path))
|
||||||
|
@ -1059,11 +1059,7 @@ namespace libtorrent
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// TODO: POSIX implementation
|
// TODO: POSIX implementation
|
||||||
#if defined(__FreeBSD__)
|
|
||||||
return true;
|
|
||||||
#else
|
|
||||||
return false;
|
return false;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// -- piece_manager -----------------------------------------------------
|
// -- piece_manager -----------------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue