Ignore:
Timestamp:
08/23/07 17:21:11 (6 years ago)
Author:
rakshasa
Message:
  • Cleaned up the 'umask' command and renamed 'working_directory' to

'cwd'.

  • Added 'd.{get,set}_custom[1-5]' for user scripts.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtorrent/src/control.cc

    r938 r963  
    160160  return m_core->get_poll_manager()->get_torrent_poll(); 
    161161} 
    162  
    163 void 
    164 Control::set_umask(mode_t m) { 
    165   ::umask(m); 
    166  
    167   m_umask = m; 
    168 } 
    169  
    170 void 
    171 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.