* New non-template VariableStringSlot and VariableValueSlot.

* Support B, K, M and G in options.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@670 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-04-20 20:03:03 +00:00
parent 2f6b5affd1
commit c4256079ae
15 changed files with 427 additions and 179 deletions
+8
View File
@@ -37,6 +37,7 @@
#include "config.h"
#include <unistd.h>
#include <sys/stat.h>
#include <torrent/connection_manager.h>
#include "core/manager.h"
@@ -143,3 +144,10 @@ Control::handle_shutdown() {
m_shutdownQuick = true;
m_shutdownReceived = false;
}
void
Control::set_umask(mode_t m) {
::umask(m);
m_umask = m;
}