aboutsummaryrefslogtreecommitdiff
path: root/lang/python27/files/patch-modules_selectmodule.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2008-11-19 10:43:57 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2008-11-19 10:43:57 +0000
commitf982be45e81588a27383cd1a3eb12789b8498904 (patch)
tree07be283d015b2c39f95e655cb7328ff355bc47fa /lang/python27/files/patch-modules_selectmodule.c
parent856c5bf9f133ae5d553d972d5a940586d3f56048 (diff)
Notes
Diffstat (limited to 'lang/python27/files/patch-modules_selectmodule.c')
-rw-r--r--lang/python27/files/patch-modules_selectmodule.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/lang/python27/files/patch-modules_selectmodule.c b/lang/python27/files/patch-modules_selectmodule.c
deleted file mode 100644
index 446241f05a97..000000000000
--- a/lang/python27/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;
- }