projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
920d5ea
)
python: Properly init the empty string with Python3.
author
Sven Trenkel
<collectd@semidefinite.de>
Mon, 12 Jan 2015 23:22:34 +0000
(23:22 +0000)
committer
Sven Trenkel
<collectd@semidefinite.de>
Mon, 12 Jan 2015 23:22:34 +0000
(23:22 +0000)
src/python.c
patch
|
blob
|
history
diff --git
a/src/python.c
b/src/python.c
index
928c921
..
8bcf82c
100644
(file)
--- a/
src/python.c
+++ b/
src/python.c
@@
-1038,7
+1038,7
@@
static int cpy_init_python() {
PyObject *module;
#ifdef IS_PY3K
- wchar_t *argv =
{0}
;
+ wchar_t *argv =
L""
;
/* Add a builtin module, before Py_Initialize */
PyImport_AppendInittab("collectd", PyInit_collectd);
#else