diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-02-19 14:48:28 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-02-19 14:48:28 +0000 |
commit | a53c3f2098c0d567dff7f72637e4ce4e75ed4674 (patch) | |
tree | 31694563cf6f8c8a3bf91cd06db1710af478683c /net/gatekeeper/files/patch-Toolkit.cxx | |
parent | - Update to 0.0.2_0 (diff) |
- Update to 2.2.8
PR: 154864
Submitted by: Bourne-again Superuser <toor@arwen.ics.muni.cz>
Notes
Notes:
svn path=/head/; revision=269358
Diffstat (limited to 'net/gatekeeper/files/patch-Toolkit.cxx')
-rw-r--r-- | net/gatekeeper/files/patch-Toolkit.cxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/net/gatekeeper/files/patch-Toolkit.cxx b/net/gatekeeper/files/patch-Toolkit.cxx deleted file mode 100644 index bf964603e589..000000000000 --- a/net/gatekeeper/files/patch-Toolkit.cxx +++ /dev/null @@ -1,31 +0,0 @@ ---- Toolkit.cxx.orig Thu Jun 30 12:09:18 2005 -+++ Toolkit.cxx Thu Jun 30 12:10:07 2005 -@@ -783,18 +783,19 @@ - m_Config = new PConfig(m_ConfigFilePath, m_ConfigDefaultSection); - } - -- if (!m_extConfigFilePath) -+ if (!m_extConfigFilePath) { - PFile::Remove(m_extConfigFilePath); - -- // generate a unique name -- do { -- m_extConfigFilePath = tmpdir + PDIR_SEPARATOR + "gnugk.ini-" + PString(PString::Unsigned, rand()%10000); -- PTRACE(5, "GK\tTrying file name "<< m_extConfigFilePath << " for external config"); -- } while (PFile::Exists(m_extConfigFilePath)); -+ // generate a unique name -+ do { -+ m_extConfigFilePath = tmpdir + PDIR_SEPARATOR + "gnugk.ini-" + PString(PString::Unsigned, rand()%10000); -+ PTRACE(5, "GK\tTrying file name "<< m_extConfigFilePath << " for external config"); -+ } while (PFile::Exists(m_extConfigFilePath)); - -- m_Config = new GatekeeperConfig( -- m_extConfigFilePath, m_ConfigDefaultSection, m_Config -- ); -+ m_Config = new GatekeeperConfig( -+ m_extConfigFilePath, m_ConfigDefaultSection, m_Config -+ ); -+ } - } - - void Toolkit::ReloadSQLConfig() |