diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-11 11:07:16 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-11 11:07:16 +0000 |
| commit | 4172a700fb692abf6ec69eb708f53c5f6d9281ce (patch) | |
| tree | 3a442fac5c524b406b482c95342d9370c51289bb /testing/python3/posix_close.patch | |
| parent | 1fea062b09726293547136ea292615980adb5a12 (diff) | |
| download | aports-4172a700fb692abf6ec69eb708f53c5f6d9281ce.tar.bz2 aports-4172a700fb692abf6ec69eb708f53c5f6d9281ce.tar.xz | |
testing/python3: upgrade to 3.3.4
Diffstat (limited to 'testing/python3/posix_close.patch')
| -rw-r--r-- | testing/python3/posix_close.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/python3/posix_close.patch b/testing/python3/posix_close.patch new file mode 100644 index 0000000000..43133c48d4 --- /dev/null +++ b/testing/python3/posix_close.patch @@ -0,0 +1,20 @@ +--- ./Modules/posixmodule.c.orig ++++ ./Modules/posixmodule.c +@@ -7846,7 +7846,7 @@ + Close a file descriptor (for low level IO)."); + + static PyObject * +-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 @@ + {"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__}, |
