mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 13:42:30 +00:00
* Cleaned up the 'umask' command and renamed 'working_directory' to
'cwd'.
* Added 'd.{get,set}_custom[1-5]' for user scripts.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@963 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -159,16 +159,3 @@ torrent::Poll*
|
||||
Control::poll() {
|
||||
return m_core->get_poll_manager()->get_torrent_poll();
|
||||
}
|
||||
|
||||
void
|
||||
Control::set_umask(mode_t m) {
|
||||
::umask(m);
|
||||
|
||||
m_umask = m;
|
||||
}
|
||||
|
||||
void
|
||||
Control::set_working_directory(const std::string& dir) {
|
||||
if (::chdir(dir.c_str()) != 0)
|
||||
throw torrent::input_error("Could not change working directory.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user