* Added 'close_untied' option.

* Remove redundant BitField::update calls now that updating
Bitfield::m_set gets handled properly in hash_resume_load.

* Fixed the error message when trying to lock non-existant session
directories.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@687 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-05-12 01:07:21 +00:00
parent a851264787
commit 65f3dda9ab
5 changed files with 51 additions and 8 deletions
+6
View File
@@ -49,6 +49,10 @@ public:
static const int e_connreset = ECONNRESET;
static const int e_connaborted = ECONNABORTED;
static const int e_deadlk = EDEADLK;
static const int e_noent = ENOENT;
static const int e_notdir = ENOTDIR;
static const int e_intr = EINTR;
error_number() : m_errno(0) {}
@@ -64,6 +68,8 @@ public:
bool is_closed() const { return m_errno == e_connreset || m_errno == e_connaborted; }
bool is_bad_path() const { return m_errno == e_noent || m_errno == e_notdir || m_errno == e_access; }
static error_number current() { return errno; }
static void clear_global() { errno = 0; }