From 7c5ca7712a07e9e656e3be810eb28a8c2aa41da4 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 24 Jul 2010 07:06:45 +0000 Subject: [PATCH] fixed bug on windows when verifying resume data for a torrent where one of its directories had been removed --- ChangeLog | 2 ++ src/storage.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9b2c8979e..d4b965855 100644 --- a/ChangeLog +++ b/ChangeLog @@ -39,6 +39,8 @@ incoming connection * added more detailed instrumentation of the disk I/O thread + * fixed bug on windows when verifying resume data for a torrent where + one of its directories had been removed * fixed race condition in peer-list with DHT * fix force-reannounce and tracker retry issue diff --git a/src/storage.cpp b/src/storage.cpp index 71f744864..7380af66e 100644 --- a/src/storage.cpp +++ b/src/storage.cpp @@ -2479,6 +2479,7 @@ ret: { if (m_storage->error() #ifdef TORRENT_WINDOWS + && m_storage->error() != error_code(ERROR_PATH_NOT_FOUND, get_system_category()) && m_storage->error() != error_code(ERROR_FILE_NOT_FOUND, get_system_category()) && m_storage->error() != error_code(ERROR_HANDLE_EOF, get_system_category()) && m_storage->error() != error_code(ERROR_INVALID_HANDLE, get_system_category()))