aboutsummaryrefslogtreecommitdiffstats
path: root/main/python3/posix_close.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-10 14:56:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-10 14:59:57 +0000
commiteb778ec0325bf30d63fd4df1be2b71a630e25bc1 (patch)
tree088e1034ef391a25d3128712083b178320b0cd79 /main/python3/posix_close.patch
parenta27d2bd8bf2de9ab847935fa6ec2363a85270ee7 (diff)
downloadaports-eb778ec0325bf30d63fd4df1be2b71a630e25bc1.tar.bz2
aports-eb778ec0325bf30d63fd4df1be2b71a630e25bc1.tar.xz
main/python3: moved to main
Diffstat (limited to 'main/python3/posix_close.patch')
-rw-r--r--main/python3/posix_close.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/python3/posix_close.patch b/main/python3/posix_close.patch
new file mode 100644
index 0000000000..e15433cfe5
--- /dev/null
+++ b/main/python3/posix_close.patch
@@ -0,0 +1,20 @@
+--- ./Modules/posixmodule.c.orig
++++ ./Modules/posixmodule.c
+@@ -7768,7 +7768,7 @@
+ function posix_close.
+ */
+ static PyObject *
+-posix_close_(PyObject *self, PyObject *args)
++_posix_close_(PyObject *self, PyObject *args)
+ {
+ int fd, res;
+ if (!PyArg_ParseTuple(args, "i:close", &fd))
+@@ -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__},
+ {"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__},