* 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:
rakshasa
2007-08-23 21:21:11 +00:00
parent 38f8a00c0c
commit 85d14f0e96
9 changed files with 66 additions and 37 deletions
-13
View File
@@ -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.");
}