diff options
author | Derek Straka <derek@asterius.io> | 2017-09-19 14:17:45 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-09-22 22:50:46 +0000 |
commit | 60d327c66570b770a18cd1b06526693241170a56 (patch) | |
tree | 9ca1ee8077fb4ce00197498b986635454eb08257 /meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch | |
parent | 0c4f3a3d8cf6caf7f9fd67e465e1e25ab8dcda40 (diff) | |
download | meta-openembedded-contrib-60d327c66570b770a18cd1b06526693241170a56.tar.gz |
python-twisted: update version to 17.5.0
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch b/meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch deleted file mode 100644 index d4cf345541..0000000000 --- a/meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 890d039f067d52a0ab77b561d40da13f0c135634 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Thu, 3 Aug 2017 11:24:43 -0700 -Subject: [PATCH] initsendmsg: Return NULL on error - -Fixes a clang error - -sendmsg.c:129:9: error: non-void function 'initsendmsg' should return a value [-Wreturn-type] - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - twisted/python/sendmsg.c | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -diff --git a/twisted/python/sendmsg.c b/twisted/python/sendmsg.c -index 9f2fd8c..9c080e1 100644 ---- a/twisted/python/sendmsg.c -+++ b/twisted/python/sendmsg.c -@@ -126,7 +126,7 @@ PyMODINIT_FUNC initsendmsg(void) { - module = Py_InitModule3("sendmsg", sendmsg_methods, sendmsg_doc); - - if (!module) { -- return; -+ return NULL; - } - - /* -@@ -135,39 +135,39 @@ PyMODINIT_FUNC initsendmsg(void) { - */ - - if (-1 == PyModule_AddIntConstant(module, "SCM_RIGHTS", SCM_RIGHTS)) { -- return; -+ return NULL; - } - - - /* BSD, Darwin, Hurd */ - #if defined(SCM_CREDS) - if (-1 == PyModule_AddIntConstant(module, "SCM_CREDS", SCM_CREDS)) { -- return; -+ return NULL; - } - #endif - - /* Linux */ - #if defined(SCM_CREDENTIALS) - if (-1 == PyModule_AddIntConstant(module, "SCM_CREDENTIALS", SCM_CREDENTIALS)) { -- return; -+ return NULL; - } - #endif - - /* Apparently everywhere, but not standardized. */ - #if defined(SCM_TIMESTAMP) - if (-1 == PyModule_AddIntConstant(module, "SCM_TIMESTAMP", SCM_TIMESTAMP)) { -- return; -+ return NULL; - } - #endif - - module = PyImport_ImportModule("socket"); - if (!module) { -- return; -+ return NULL; - } - - sendmsg_socket_error = PyObject_GetAttrString(module, "error"); - if (!sendmsg_socket_error) { -- return; -+ return NULL; - } - } - --- -2.13.4 - |