aboutsummaryrefslogtreecommitdiffstats
path: root/testing/python3
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2014-05-24 12:37:36 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2014-05-26 09:11:39 +0000
commit6f36580d717271013936e2e7161464850c3cffa3 (patch)
treee8d17f7ffd75c7366bee389c12fc6a31b3b156c9 /testing/python3
parent4701763356747f4713e81315563c3e784ec35850 (diff)
downloadaports-6f36580d717271013936e2e7161464850c3cffa3.tar.bz2
aports-6f36580d717271013936e2e7161464850c3cffa3.tar.xz
testing/python3: update patch for 3.4.1
Diffstat (limited to 'testing/python3')
-rw-r--r--testing/python3/posix_close.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/testing/python3/posix_close.patch b/testing/python3/posix_close.patch
index 43133c48d4..e15433cfe5 100644
--- a/testing/python3/posix_close.patch
+++ b/testing/python3/posix_close.patch
@@ -1,20 +1,20 @@
--- ./Modules/posixmodule.c.orig
+++ ./Modules/posixmodule.c
-@@ -7846,7 +7846,7 @@
- Close a file descriptor (for low level IO).");
-
+@@ -7768,7 +7768,7 @@
+ function posix_close.
+ */
static PyObject *
--posix_close(PyObject *self, PyObject *args)
-+_posix_close(PyObject *self, PyObject *args)
+-posix_close_(PyObject *self, PyObject *args)
++_posix_close_(PyObject *self, PyObject *args)
{
int fd, res;
if (!PyArg_ParseTuple(args, "i:close", &fd))
-@@ -11262,7 +11262,7 @@
+@@ -11426,7 +11426,7 @@
{"open", (PyCFunction)posix_open,\
METH_VARARGS | METH_KEYWORDS,
posix_open__doc__},
-- {"close", posix_close, METH_VARARGS, posix_close__doc__},
-+ {"close", _posix_close, METH_VARARGS, posix_close__doc__},
+- {"close", posix_close_, METH_VARARGS, posix_close__doc__},
++ {"close", _posix_close_, METH_VARARGS, posix_close__doc__},
{"closerange", posix_closerange, METH_VARARGS, posix_closerange__doc__},
{"device_encoding", device_encoding, METH_VARARGS, device_encoding__doc__},
{"dup", posix_dup, METH_VARARGS, posix_dup__doc__},