Changeset 963 for trunk/rtorrent/src/control.cc
- Timestamp:
- 08/23/07 17:21:11 (6 years ago)
- File:
-
- 1 edited
-
trunk/rtorrent/src/control.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtorrent/src/control.cc
r938 r963 160 160 return m_core->get_poll_manager()->get_torrent_poll(); 161 161 } 162 163 void164 Control::set_umask(mode_t m) {165 ::umask(m);166 167 m_umask = m;168 }169 170 void171 Control::set_working_directory(const std::string& dir) {172 if (::chdir(dir.c_str()) != 0)173 throw torrent::input_error("Could not change working directory.");174 }
Note: See TracChangeset
for help on using the changeset viewer.
