mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-07 10:42:31 +00:00
* Minor portability fixes.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@638 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include <functional>
|
||||
#include <rak/algorithm.h>
|
||||
#include <rak/file_stat.h>
|
||||
#include <rak/path.h>
|
||||
|
||||
#include "path_input.h"
|
||||
|
||||
@@ -70,7 +71,7 @@ struct _transform_filename {
|
||||
void operator () (std::string& filename) {
|
||||
rak::file_stat fs;
|
||||
|
||||
if (!fs.update((m_base + filename)))
|
||||
if (!fs.update(rak::path_expand(m_base + filename)))
|
||||
return;
|
||||
|
||||
else if (fs.is_directory())
|
||||
|
||||
Reference in New Issue
Block a user