forked from premiere/premiere-libtorrent
set the hidden attribute when creating the part file
This commit is contained in:
parent
54f00ce09d
commit
ed8fffc1a6
|
@ -1,4 +1,5 @@
|
||||||
|
|
||||||
|
* set the hidden attribute when creating the part file
|
||||||
* fix recent regression with force_proxy setting
|
* fix recent regression with force_proxy setting
|
||||||
* don't perform DNS lookups for the DHT bootstrap unless DHT is enabled
|
* don't perform DNS lookups for the DHT bootstrap unless DHT is enabled
|
||||||
* fix issue where setting file/piece priority would stop checking
|
* fix issue where setting file/piece priority would stop checking
|
||||||
|
|
|
@ -180,7 +180,7 @@ namespace libtorrent
|
||||||
TORRENT_ASSERT(offset >= 0);
|
TORRENT_ASSERT(offset >= 0);
|
||||||
mutex::scoped_lock l(m_mutex);
|
mutex::scoped_lock l(m_mutex);
|
||||||
|
|
||||||
open_file(file::read_write, ec);
|
open_file(file::read_write | file::attribute_hidden, ec);
|
||||||
if (ec) return -1;
|
if (ec) return -1;
|
||||||
|
|
||||||
int slot = -1;
|
int slot = -1;
|
||||||
|
@ -212,7 +212,7 @@ namespace libtorrent
|
||||||
|
|
||||||
int slot = i->second;
|
int slot = i->second;
|
||||||
|
|
||||||
open_file(file::read_write, ec);
|
open_file(file::read_write | file::attribute_hidden, ec);
|
||||||
if (ec) return -1;
|
if (ec) return -1;
|
||||||
|
|
||||||
l.unlock();
|
l.unlock();
|
||||||
|
@ -393,7 +393,7 @@ namespace libtorrent
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
open_file(file::read_write, ec);
|
open_file(file::read_write | file::attribute_hidden, ec);
|
||||||
if (ec) return;
|
if (ec) return;
|
||||||
|
|
||||||
boost::scoped_array<boost::uint32_t> header(new boost::uint32_t[m_header_size / 4]);
|
boost::scoped_array<boost::uint32_t> header(new boost::uint32_t[m_header_size / 4]);
|
||||||
|
|
Loading…
Reference in New Issue