summaryrefslogtreecommitdiff
path: root/lang/python30/files/patch-modules_selectmodule.c
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2008-10-13 08:23:00 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2008-10-13 08:23:00 +0000
commit3813a5dbe7d0608965d690d98e1730ad5c8878ff (patch)
treec6bc50f8d593ff6f8b9f46161b022682d1e508cd /lang/python30/files/patch-modules_selectmodule.c
parent- Fix synergy crashing on copy and paste from Fedora (diff)
Introduce two new versions of Python: 2.6 and 3.0rc1 (finally!)
Python 2.6 will be the next default python version when enough testings of consumer ports are done. The new "2to3" program is renamed to 2to3-2.6 and 2to3-3.0 for each version, respectively. Repo-copied by: marcus
Diffstat (limited to 'lang/python30/files/patch-modules_selectmodule.c')
-rw-r--r--lang/python30/files/patch-modules_selectmodule.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/lang/python30/files/patch-modules_selectmodule.c b/lang/python30/files/patch-modules_selectmodule.c
deleted file mode 100644
index 446241f05a97..000000000000
--- a/lang/python30/files/patch-modules_selectmodule.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- Modules/selectmodule.c.orig 2006-07-10 02:18:57.000000000 +0100
-+++ Modules/selectmodule.c 2008-08-30 10:39:43.000000000 +0100
-@@ -349,10 +349,12 @@
- {
- Py_ssize_t i, pos;
- PyObject *key, *value;
-+ struct pollfd *old_ufds = self->ufds;
-
- self->ufd_len = PyDict_Size(self->dict);
-- PyMem_Resize(self->ufds, struct pollfd, self->ufd_len);
-+ PyMem_RESIZE(self->ufds, struct pollfd, self->ufd_len);
- if (self->ufds == NULL) {
-+ self->ufds = old_ufds;
- PyErr_NoMemory();
- return 0;
- }