Re: [libtorrent] Upgrading Woes
Brought to you by:
arvidn
|
From: Arvid N. <c9...@cs...> - 2004-03-14 00:33:28
|
Richard Paul Cesar wrote: > Hello, > > Over the course of updating libtorrent alone. A > couple things broke, and im not sure what changes need > to be done to fix them. For starters, torrent_info > refuses to be newed (it calls an error), this is a > problem, but could be fixable. The other problem (and > more important one) lies in the fact that torrent_info > t(e), always brings up a boost filesystem error, > showing the path and name to be identical, which is > always the first entree in a torrent file...... this > is a major problem, any ideas? This is probably due to the new version of Boost.Filesystem (I assume you use 1.31.0). The new version has a new scheme for path name validation. If you want to allow all paths that are accepted on the platform it's running on, make this call before you start using boost::filesystem::path. namespace fs = boost::filesystem; fs::path::default_name_check(fs::native); hope that helps. The manual mentions this at the bottom. > > Thanks, > Richard -- Arvid Norberg |