mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 07:09:21 +00:00
* Added path match depth to torrent::File which can be used to quickly
determine the common root directory of two adjecent files. * Cleaned up RC4 class. * Fixed --with-openssl so it accepts user-supplied paths. * Call abort instead of exit when receiving a SIGSEGV or SIGBUS. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@829 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include <rak/functional.h>
|
||||
#include <rak/socket_address.h>
|
||||
#include <torrent/bitfield.h>
|
||||
#include <torrent/torrent.h>
|
||||
|
||||
#include "core/download.h"
|
||||
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
#include <torrent/exceptions.h>
|
||||
#include <torrent/connection_manager.h>
|
||||
#include <torrent/rate.h>
|
||||
#include <torrent/torrent.h>
|
||||
#include <torrent/tracker.h>
|
||||
#include <torrent/tracker_list.h>
|
||||
#include <torrent/data/file_list.h>
|
||||
|
||||
@@ -135,11 +135,12 @@ WindowFileList::redraw() {
|
||||
done_percentage(e),
|
||||
e->path()->encoding().c_str());
|
||||
|
||||
m_canvas->print(84, pos, "%i - %i %c%c",
|
||||
m_canvas->print(84, pos, "%i - %i %c%c %u",
|
||||
e->range().first,
|
||||
e->range().first != e->range().second ? (e->range().second - 1) : e->range().second,
|
||||
e->is_created() ? 'E' : 'M',
|
||||
e->is_correct_size() ? 'C' : 'W');
|
||||
e->is_correct_size() ? 'C' : 'W',
|
||||
e->path_match_depth());
|
||||
|
||||
++range.first;
|
||||
++pos;
|
||||
|
||||
Reference in New Issue
Block a user