diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2005-10-16 07:41:55 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2005-10-16 07:41:55 +0000 |
commit | 40a3261d1a6e2617f6afde0cd6d762a7e211af7a (patch) | |
tree | d70bbf882801af3a4e58dde3ed6a1da1849479d4 /net-im/jabber-pyicq/files/patch-src_main.py | |
parent | Fix the string format vulnerability desribed at (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_6_0_0'.release/6.0.0
Diffstat (limited to 'net-im/jabber-pyicq/files/patch-src_main.py')
-rw-r--r-- | net-im/jabber-pyicq/files/patch-src_main.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/net-im/jabber-pyicq/files/patch-src_main.py b/net-im/jabber-pyicq/files/patch-src_main.py deleted file mode 100644 index 29195250e9d2..000000000000 --- a/net-im/jabber-pyicq/files/patch-src_main.py +++ /dev/null @@ -1,24 +0,0 @@ ---- src/main.py.orig Tue Jun 7 09:54:58 2005 -+++ src/main.py Tue Jun 7 09:56:26 2005 -@@ -1,3 +1,4 @@ -+#!%%PYTHON_CMD%% - # Copyright 2004 James Bunton <james@delx.cjb.net> - # Licensed for distribution under the GPL version 2, check COPYING for details - -@@ -13,15 +14,9 @@ - print("You are using version %s of Python, at least 2.3 is required." % (sys.version[:3])) - os._exit(0) - --name = "PyICQt" --exe = os.path.realpath(sys.executable) --if (exe.find("python") >= 0): -- print("Restarting with process name %s..." % (name)) -- os.execv(exe, [name, sys.argv[0]]+sys.argv[1:]) -- - import config - import xmlconfig --conffile = "config.xml" -+conffile = "%%PREFIX%%/etc/jabber-pyicq.xml" - options = {} - opts, args = getopt.getopt(sys.argv[1:], "c:o:dDl:h", ["config=", "option=", "debug", "Debug", "log=", "help"]) - for o, v in opts: |