From 3813a5dbe7d0608965d690d98e1730ad5c8878ff Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Mon, 13 Oct 2008 08:23:00 +0000 Subject: 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 --- lang/python32/files/patch-Modules-zlibmodule.c | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 lang/python32/files/patch-Modules-zlibmodule.c (limited to 'lang/python32/files/patch-Modules-zlibmodule.c') diff --git a/lang/python32/files/patch-Modules-zlibmodule.c b/lang/python32/files/patch-Modules-zlibmodule.c deleted file mode 100644 index 7875a40ada7c..000000000000 --- a/lang/python32/files/patch-Modules-zlibmodule.c +++ /dev/null @@ -1,13 +0,0 @@ ---- Modules/zlibmodule.c.orig 2008-04-25 01:47:26.000000000 +0200 -+++ Modules/zlibmodule.c 2008-04-25 01:48:17.000000000 +0200 -@@ -774,6 +774,10 @@ - - if (!PyArg_ParseTuple(args, "|i:flush", &length)) - return NULL; -+ if (length <= 0) { -+ PyErr_SetString(PyExc_ValueError, "length must be greater than zero"); -+ return NULL; -+ } - if (!(retval = PyString_FromStringAndSize(NULL, length))) - return NULL; - -- cgit v1.2.3